CCRecipients Property

Applies To

Mailer object.

Description

Returns or sets the recipients of a carbon copy (an indirect copy) of the mailer. Available only in Microsoft Word for the Macintosh, with the PowerTalk mail system extension installed. Read/write Variant.

Remarks

This property uses an array of strings that specify the recipients' addresses, in one of the following formats:

  • A record in the Preferred Personal Catalog. These names are one level deep ("Fred" or "June," for example).
  • A full path that specifies either a record in a personal catalog (for example, "HD:Word Folder:My Catalog:Barney") or a plain record (for example, "HD:Folder:Martin").
  • A relative path from the current working folder that specifies either a personal catalog record (for example, "My Catalog:Barney") or a plain record (for example, "Martin").
  • A path in a PowerShare catalog tree, in the form "CATALOG_NAME:<node>:RECORD_NAME", where <node> is a path to a PowerShare catalog. An example of a complete path is "AppleTalk:North Building Zone:George's Mac."
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