Mailer Property

Applies To

Document object.

Description

Returns a Mailer object that represents the PowerTalk mailer attached to the document. Available only in Microsoft Word for the Macintosh, with the PowerTalk mail system extension installed. Read-only.

Remarks

The Mailer object contains the properties needed to mail a document with PowerTalk. To mail a document, turn on the mailer by using the HasMailer property, set the mailer properties, and then send the document and mailer by using the SendMailer method.

See Also

NextLetter method.

Example

This example sets up the Mailer object for the active document and then sends the document.

With ActiveDocument
    .HasMailer = True
    With .Mailer
        .Subject = "Here is the document"
        .ToRecipients = Array("Jean")
        .CCRecipients = Array("Adam", "Bernard")
        .BCCRecipients = Array("Chris")
        .Enclosures = Array("TestFile")
    End With
    .SendMailer
End With