MailMerge.MailFormat Property

Returns a WdMailMergeMailFormat constant that represents the format to use when the mail merge destination is an e-mail message.

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


Property MailFormat As WdMailMergeMailFormat
Dim instance As MailMerge
Dim value As WdMailMergeMailFormat

value = instance.MailFormat

instance.MailFormat = value
WdMailMergeMailFormat MailFormat { get; set; }

Property Value

Type: Microsoft.Office.Interop.Word.WdMailMergeMailFormat


WdMailMergeMailFormat can be one of the following WdMailMergeMailFormat constants:

wdMailFormatHTML Sends mail merge e-mail documents using HTML format.

wdMailFormatPlainText Sends mail merge e-mail documents using plain text.

The MailFormat property is ignored if the MailAsAttachment property is set to True.

See Also


MailMerge Interface

MailMerge Members

Microsoft.Office.Interop.Word Namespace