SaveMessageOnSend (NotesDocument - LotusScript®)

Read-write. Indicates whether a document is saved to a database when mailed. Only applies to new documents that have not yet been saved.

Defined in

NotesDocument

Data type

Boolean

Syntax

To get: flag = notesDocument .SaveMessageOnSend

To set: notesDocument .SaveMessageOnSend = flag

Legal values

  • True indicates that the document is saved when mailed.
  • False indicates that the document is not saved when mailed.

Usage

When SaveMessageOnSend is True, the document is saved just after being mailed.

Example