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.
Dig Deeper on Lotus Notes Domino Coding and Development
Related Q&A from Andre Guirard
Learn how you can use LotusScript and OLE to create and populate Microsoft Excel spreadsheets, as well as a little bit about Lotus Symphony. Continue Reading
Discover options you can use if you'd like external users to be able to access a workflow-based Notes Domino application through different ... Continue Reading
Learn why you may receive the error message: "Illegal circular use: Audit Trail" when trying to open Lotus Notes documents that use copied forms. Continue Reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.