Home > Ask the Domino Experts > Application Development Questions & Answers > Troubleshooting non-delivery of agent notification e-mails
Ask The Domino Expert: Questions & Answers
EMAIL THIS

Troubleshooting non-delivery of agent notification e-mails

Brian Mahoney EXPERT RESPONSE FROM: Brian Mahoney

Pose a Question
Other Domino Categories
Meet all Domino Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 26 May 2006

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

>
EXPERT RESPONSE

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.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


RELATED CONTENT
Lotus Notes Domino Application Development
Lotus Notes Domino application development best practices
Mimic Lotus Notes Domino application functionality on the Web
Top 10 issues when developing Lotus Notes Domino Internet applications
Top 10 Lotus Notes Domino programming and development tips of 2007
Export Lotus Notes documents to Microsoft Word via Internet Explorer
A bevy of Notes/Domino development tips
How to protect your Lotus Notes application design
Adding an action to the Lotus Notes right-click menu
A smorgasbord of Notes/Domino development tips
A project-tracking application for Lotus Notes Domino

Lotus Notes Domino Agents
Verify scheduled agent status with Domino Extensible Language (DXL)
Top 10 Lotus Notes Domino programming and development tips of 2007
How to export data from a Lotus Notes database to a CSV file
Must-know Lotus Notes Domino agents -- 10 tips in 10 minutes
Enable or disable scheduled agents without opening the Lotus Notes database design
Creating custom views in Lotus Notes databases
Editing fields in a Lotus Notes view with Ajax
Troubleshooting a scheduled agent not running on a Global Notes Architecture (GNA) server
Can I stop Lotus Domino Server from transforming embedded images into attachments?
How to automatically create a backup copy of your Domino Directory

Application Development
Setting the field value of a table
Exporting data from Microsoft Excel to Lotus Notes
How to send a form to a non-Lotus Notes email client
Manipulating the replication and form of profile documents
How to create an icon on an HTML page that opens the Lotus Notes database from a Lotus Notes client
How to refresh all Lotus Notes documents via a background agent
Creating Domino doclink buttons
Locating file upload controls
DbColumn look-up generates too many results
Detecting if person or group document has been deleted from NAB

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice

HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersDomino IT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 1999 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts