Q
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
(NotificationGroup;AutoNotify;NULL;"ALERT 
EXPIRED";"";"Click the doclink to view the expired 
alert notification:  " + CustName + "   ";[IncludeDoclink]);"");
SELECT @All

Try this:

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.
This was last published in May 2006

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.

-ADS BY GOOGLE

SearchWindowsServer

Search400

  • 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 ...

SearchDataCenter

  • How do I size a UPS unit?

    Your data center UPS sizing needs are dependent on a variety of factors. Develop configurations and determine the estimated UPS ...

  • How to enhance FTP server security

    If you still use FTP servers in your organization, use IP address whitelists, login restrictions and data encryption -- and just ...

  • 3 ways to approach cloud bursting

    With different cloud bursting techniques and tools from Amazon, Zerto, VMware and Oracle, admins can bolster cloud connections ...

SearchContentManagement

Close