EmailMergeEnvelope.To Property
Publisher Developer Reference |
Gets or sets the MailMergeDataField object that represents the data-source field (column) that lists the e-mail addresses of recipients of the merged e-mail message. Read/write.
Version Information
Version Added: Publisher 2007
Syntax
expression.To
expression A variable that represents an EmailMergeEnvelope object.
Return Value
MailMergeDataField
Remarks
You must make certain that you assign the correct data-source field (the one that represents e-mail addresses) to the To property. You can use the following line of code, which gets the value of the Name property of the MailMergeDataField object to which To is assigned, to ensure that you make the correct assignment:
Visual Basic for Applications |
---|
|
For an example of how to set the To property value, see the EmailMergeEnvelope object topic.
See Also