ReplyAll Method

Applies To

Document object, MailMessage object.

Description

MailMessage object: Opens a new WordMail message — with the sender's and all other recipients' addresses on the To: and Cc: lines, as appropriate — for replying to the active message.

Document object: Replies to the document by creating a copy of it and preinitializing the new document's mailer to send to all recipients of the original. Valid only when the document has a received mailer attached (as you can only reply to a document if you've received it). Available only on the Macintosh, with the PowerTalk mail system extension installed.

Syntax

expression.ReplyAll

expression Required. An expression that returns a Document or MailMessage object.

Remarks

To reply to all recipients of a document, use this method to set up the mailer, use the Mailer property to adjust the mailer settings (if necessary), and then use the SendMailer method to send the reply.

See Also

Reply method.

Example

This example replies to all recipients of the active document.

Set original = ActiveDocument
If original.HasMailer Then
    original.ReplyAll
    original.Mailer.Subject = "Here's my reply"
    ActiveDocument.SendMailer
End If
This example opens a new WordMail message for replying to the active message.

Application.MailMessage.ReplyAll