LOTUSSCRIPT/COM/OLE CLASSES
Use the Send method of NotesDocument to mail a document. You can specify the recipient in the second argument or omit the argument and use the SendTo field of the document. Specify the first argument as True to include the form in the mailed document.
If you have only Reader access to a database, you can run a LotusScript agent that creates and sends a document, but the agent will not work if you attach a file to that document.
To save the document after it is mailed, you can set the SaveMessageOnSend property to True before mailing the document.
To sign the mail, use the Sign method of NotesDocument before sending the mail. Use the Save method afterwards if you want to save the signature.
To encrypt the mail, set the EncryptOnSend property of NotesDocument to True before sending the mail. Do not use the Encrypt method.
Use the CreateReplyMessage method of NotesDocument to create a new document that is a reply to the current document. The new document uses the default mail form for replies.
Example See Also