MailMerge.MailFormat Property

Definition

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

public:
 property Microsoft::Office::Interop::Word::WdMailMergeMailFormat MailFormat { Microsoft::Office::Interop::Word::WdMailMergeMailFormat get(); void set(Microsoft::Office::Interop::Word::WdMailMergeMailFormat value); };
public Microsoft.Office.Interop.Word.WdMailMergeMailFormat MailFormat { get; set; }
member this.MailFormat : Microsoft.Office.Interop.Word.WdMailMergeMailFormat with get, set
Public Property MailFormat As WdMailMergeMailFormat

Property Value

Remarks

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.

Applies to