Less is sometimes more !
WHAT:
Noteslog is a nice feature of Notes, but the NotesMail Log needs an enhancement that allows to Rollback/Stop an email log without sending an email.
WHY:
If you write an agent and you write i.e. a log for the admins about what the agent has done, you only want to send it in case of a problem or errors occuring. Thus at the end of the agent session you want to decide whether to stop (rollback) the email log or not. You do not want to send the admins a several pages long email log that every thing was just fine .... Currently the Notes Emailog ist not stoppable.
The same logic applies for logs send to user to inform them about something new or changes the agent has done. You do not want to burn valuable user time by letting them read that nothing has been changed or nothing new has happend with an email novel size, do you ? :-)
As the criteria to decide whether you need to send a log or not, is often not known when you start the agent, we need to do it later. On the other hand, of course you want to log all that potentially valuable information before you can make the decision whether to send it or not. Thats why we need this enhancement
Joe
I suggest to first send the mail, then, depending on the result write the log entry (successful or not).
LotusScript offers Commit/Rollback-commands. Maybe that help you?