I'm writing a simple agent that checks a field in a Lotus Notes document against today's date. If the document's date is later than today, the agent sends an e-mail to the people who are part of NotificationGroup and Autonotify fields.
According to the log, the agent runs on schedule, but the e-mails aren't coming through. If I manually run the agent, the e-mails come through fine. I'm not sure why.
Here is my code:
@If(@Today > ExpirationDate;@MailSend (NotificationGroup;AutoNotify;NULL;"ALERT EXPIRED";"";"Click the doclink to view the expired alert notification: " + CustName + " ";[IncludeDoclink]);""); SELECT @All
SELECT @All; @If(@Today >ExpirationDate; @MailSend("NotificationGroup"; "AutoNotify"; ""; "ALERT EXPIRED"; ""; "Click the doclink to view the expired alert notification: " + CustName + " "; [IncludeDoclink]); "");
Do you have comments on this Ask the Expert Q&A? Let us know.
Dig Deeper on Lotus Notes Domino Application Development
Related Q&A from Brian Mahoney
Find out what types of calculations can be computed for a column in a Lotus Notes view and the best way to go about it with this expert response. Continue Reading
Find out why you can't use Formula language to include a doclink to a specific Lotus Notes view or database and need to use LotusScript instead. Continue Reading
Discover the reasons behind a Notes/Domino admistrator having trouble with disabled options in the "customize this view" section of his Lotus Notes ... Continue Reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.