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 first published in September 2005