IsEncryptOnSend (Document - Java)

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

Defined in

Document

Data type

boolean

Syntax

public boolean isEncryptOnSend()
    throws NotesException
public void setEncryptOnSend(boolean flag)
    throws NotesException

Legal values

  • 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.

Example