MailMerge.MailAsAttachment Property

Determines if the merge documents are sent as attachments when the mail merge destination is an e-mail message or a fax.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Property MailAsAttachment As Boolean
    Get
    Set
'Usage
Dim instance As MailMerge
Dim value As Boolean

value = instance.MailAsAttachment

instance.MailAsAttachment = value
bool MailAsAttachment { get; set; }

Property Value

Type: System.Boolean

Remarks

This property returns True if the merge documents are sent as attachments when the mail merge destination is an e-mail message or a fax, and False if not. Set the property value to True or False to enable or disable the functionality.

See Also

Reference

MailMerge Interface

MailMerge Members

Microsoft.Office.Interop.Word Namespace