IsSentByAgent (Document - Java)

Read-only. Indicates whether a document was mailed by a Domino® program.

Defined in

Document

Data type

boolean

Syntax

public boolean isSentByAgent()
    throws NotesException

Legal values

  • true if the document was mailed by a program
  • false if the document was mailed by a person

Usage

In agents that respond to mail messages, you can use this property to make sure that the agent is not responding to mail that was sent by a program.

Documents sent by a program contain an item called $AssistMail with a value that is set to 1.

Example