createReplyMessage (Document - Java)

Creates a new document that is formatted as a reply to the current document.

Defined in

Document

Syntax

public Document createReplyMessage(boolean toall)
    throws NotesException

Parameters

boolean toall

If true, the new document recipient list contains all the recipients of the original. If false, the new document recipient list contains only the sender of the original.

Return value

Document

A reply to the current document.

Usage

The new document does not contain a Subject item. If you want one, the program must explicitly add it to the document.

The new document does not automatically get mailed. If you want to mail it, the program must explicitly call the send method.

Example