Send mail to 1stperson after10 min to 2nd person then 3rd person

Hi All,Actually i have to send mail to three different user after 10 min .

I got a mial on 11.00 then second person will get the same mail at 11.10 and third person will get the same mail on 11.20.

any idea

rajeev

Subject: send mail to 1stperson after10 min to 2nd person then 3rd person

rajeev,

Isn’t this the same as your previous post/thread??

You need to keep the same thread going - makes it easier

Mike

Subject: RE: send mail to 1stperson after10 min to 2nd person then 3rd person

Hi Mike,yes this the same.But still i am not getting any idea…I am very tense…I used all the way i can but nothinh happen…You have any idea on this…

thanxs for the response.

Subject: RE: send mail to 1stperson after10 min to 2nd person then 3rd person

What is the schedule of your agent (same question as before)

You might need to have 3 seperate agents

Subject: RE: send mail to 1stperson after10 min to 2nd person then 3rd person

Rajeev,

check out “NotesTimer” class. this will help you monitoring the intervals of mail send.

-Shiva.

Subject: send mail to 1stperson after10 min to 2nd person then 3rd person

Hi Rajeev,

Do one thing make one extra column in a view and use @adjust in minute and make it ten minutes faster. and set ur schedule to every 10 minutes on all the documents. Write lotus script agent and pick documents from view and send a mail.

Rishi

Subject: RE: send mail to 1stperson after10 min to 2nd person then 3rd person

rishi,

you shouldn’t put @adjust in a view column, it is a real performance loser

Mike

Subject: send mail to 1stperson after10 min to 2nd person then 3rd person

Hi MikeI am creating three agent and then run but still it is not running.Here i am giving the code…

1)@If(status=“1” &t3>t2 ;@Do(@MailSend(“Rajeev M Thakur/BNG/ULI”;“”;“”;“1st test”;“”;“Remainder about your Project”;[IncludeDoclink]);@SetField (“status”;“2”));“”);

where t3:=@time(@now).

   t2:=@adjust(t1;0;0;0;0;10;0).

You want only this much information .

Subject: RE: send mail to 1stperson after10 min to 2nd person then 3rd person

where are you declaring/setting t1?

it looks like your @if statement is returning false

Subject: RE: send mail to 1stperson after10 min to 2nd person then 3rd person

I am declaring t1 both in form and in first agent .i have written all this on button click evevnt ,When user send the mail to the first person then it change the status “0” to “1” as well call the first agent.

Here is the button code…

t1:=time1;–>current time.

t2:=time2:=@Adjust (time1;0;0;0;0;1;0);

t4:=time4:=@Adjust (time1;0;0;0;0;2;0);

t5:=time5:=@Adjust (time1;0;0;0;0;3;0);

@SetField (“time2”;time2);

@SetField (“time4”;time4);

@SetField (“time5”;time5);

@SetField (“status”;“1”);

@Command ([FileSave] );

@MailSend(“Rajeev M Thakur/BNG/ULI”;“”;“”;“User to Sankalp”;“”;“Remainder about your Project”;[IncludeDoclink]);

@PostedCommand ([FileSave] );

@Command ([ToolsRunMacro] ;“raj1”);

@Command ([ToolsRunMacro] ;“raj2”);

@Command ([ToolsRunMacro] ;“raj3”)

again now i am checking for the @if statement.

Subject: RE: send mail to 1stperson after10 min to 2nd person then 3rd person

i am confused now!!

you can;t pass variables between agents? you need to set the values to fields on the documents and save them only then can the second or third agent pick up the values

Subject: RE: send mail to 1stperson after10 min to 2nd person then 3rd person

Hi Mike ,I got your point and i fix the bug.It is working now perfectly. Thanxs yaar for giving me the support till i succeed.

Mike is it possible to delete that document which is forwareded to the next person.I mean when that mail forwarded to the next person it should delete in previous mailbox.

thanxs once again i struggling for the last 10 days.Have a coffee.

Rajeev