Firstly, i am quite a newbie on Lotus Notes Programming. I don’t quite know what version of lotus notes i running on. Only know that its release 6.5.1 i running on, but i dunoe to select which release.Now, i got this problem of schedule agent sending mail to staff to remind them on overdue service request.
Currently, all my service request uses a form and are documents, so i schedule an agent, running daily at 8.00am, which is suppose to send mail to my staff if their deadline is overdue, and it is set to Modify Documents using a formula to run it.
My server and me have Manager rights.
I got a date/time field called Deadline, a text field called SuppStaff with my staffs name in all documents. Each document have a SuppStaff and Deadline field.
A sample of formula for the schedule agent.
FIELD Deadline := Deadline;
FIELD SuppStaff := SuppStaff;
FIELD remsubject := " REMINDER - Service Request is overdue )";
FIELD remcontent := “(This is a computer generated notification)” + @NewLine + @NewLine + @NewLine + “This is a reminder of the service request which was due on “+ Deadline +”, please close the case asap because its overdue.” + @NewLine + @NewLine + "The information is as follows:- ";
@If(Status = “Pending Action” & @Date(Deadline) < @Date(@Today); @MailSend(SuppStaff; “”; “”; remsubject; “”; remcontent; [IncludeDoclink]); “”);
SELECT Form = “Service_Request”
However, the fields are updated but the mail is not sent. But when i replace the flag [includedoclink] with null(“”), it works, sending reminder to my staffs using my server name. How do I rectrify this problem?
This is what i type for my schedule agent, i tried debugging it. The log file shows no errors at all and the documents are successfully modified but no mails are received.