LOTUSSCRIPT/COM/OLE CLASSES


EncryptOnSend property
Example

Read-write. Indicates whether a document is encrypted when mailed.

Defined in

NotesDocument

Data type

Boolean

Syntax

To get: flag = notesDocument.EncryptOnSend

To set: notesDocument.EncryptOnSend = flag

Legal values


Usage

To encrypt a document when mailed, this method looks for the public key of each recipient in the Domino Directory. If it cannot find a recipient's public key, the method sends an unencrypted copy of the document to that recipient. All other recipients receive an encrypted copy of the document.

This property has no effect on whether a document is encrypted when saved to a database.

Language cross-reference

IsEncryptOnSend property in Java Document class

@MailEncryptSentPreference function in formula language

Example
See Also