IsEncryptOnSend (NotesDocument - JavaScript)

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

Defined in

NotesDocument

Syntax

isEncryptOnSend() : boolean

setEncryptOnSend(flag:boolean) : void

Legal value Description
true if the document is encrypted when mailed
false if the document is not encrypted when mailed

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.

Examples

See send.