DoSubject (NotesNewsletter - LotusScript®)

Read-write. For a newsletter document created using the FormatMsgWithDoclinks method, indicates whether the newsletter includes a string describing the subject of each document.

Defined in

NotesNewsletter

Data type

Boolean

Syntax

To get: flag = notesNewsletter .DoSubject

To set: notesNewsletter .DoSubject = flag

Legal values

  • True indicates that the newsletter includes a subject line for each document; default.
  • False indicates that the newsletter does not include subject lines.

Usage

For a newsletter document created using the FormatDocument method, this property has no effect.

This property must be used in conjunction with the SubjectItemName property, which determines the item used as a subject line (for example, "Subject," "Topic," or "Description"). If you do not specify a SubjectItemName, the DoSubject property has no effect.

You must set both SubjectItemName and DoSubject before calling FormatMsgWithDoclinks.

For examples, see the FormatMsgWithDoclinks method.

Example