LOTUSSCRIPT/COM/OLE CLASSES
Read-only. Indicates whether a document was mailed by a script.
Defined in
NotesDocument
Data type
Boolean
Syntax
To get: flag = notesDocument.SentByAgent
Legal values
In agents that respond to mail messages, you can use this property to make sure that the agent is not responding to mail that was sent by another agent (or other script).
This property returns True if the document was mailed by any script, not just an agent script.
Documents sent by a script contain an item called $AssistMail whose value is set to 1. When a script uses the Send method to mail a document, the method automatically creates this item on the document.
Language cross-reference
IsSentByAgent property in Java Document class
Example See Also