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

E-mail notification from controlled access section not always working

In the last six or seven weeks, I've had a problem crop up that's driving us crazy.

In a controlled access section, I have a box ("Approved?") that, when checked, automatically saves a document and sends an e-mail with doclink to the next person in the approval cycle. This is another controlled access section. I've used the same form through Notes 3.0, 4, 5, and now 6.45. It has always worked fine.

Now, the e-mail notification almost always works, but sometimes doesn't work. The documents are being approved by different people, and sent to different people.

I've added in a test ID as a BCC, and sometimes neither the identified recipient nor the test ID get the emails. I've checked the Notes e-mail log, and there is no record of the documents being sent -- yet a hidden "trigger" field, which is set to Yes when the user clicks the approved button and sends the e-mail, is triggered to "yes" in all the documents I've examined.

Any ideas as to what's going on? I'm at the stage where I've checked everything I know, and ran all the tests I can think of.

Offhand, I'd say the send method was failing for some reason and you need to find out what the reason is. If your agent has an On Error trap that might be hiding the error condition that occurs when the mail fails to be sent, take out the On Error and see what happens. Without more detail it's hard to suggest anything else.

Do you have comments on this Ask the Expert question and response? Let us know.

This was last published in September 2005

Dig Deeper on Lotus Notes Domino Coding and 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 ...