Problem solve Get help with specific problems with your technologies, process and projects.

Troubleshooting non-delivery of agent notification e-mails

SearchDomino.com expert Brian Mahoney helps a Lotus Notes developer troubleshoot the code for an agent that isn't sending out e-mail notifications as it should.

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
EXPIRED";"";"Click the doclink to view the expired 
alert notification:  " + CustName + "   ";[IncludeDoclink]);"");

Try this:

@If(@Today >ExpirationDate;
"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

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.




  • iSeries tutorials

    Search400.com's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...