EncryptOnSend (NotesDocument - LotusScript®)

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

  • True indicates that the document is encrypted when mailed.
  • False indicates that 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.

Example