Share via


EmailMessage.Normalize method

The Normalize method collapses and reorders the Multipurpose Internet Mail Extensions (MIME) hierarchy for the message.

Namespace:  Microsoft.Exchange.Data.Transport.Email
Assembly:  Microsoft.Exchange.Data.Transport (in Microsoft.Exchange.Data.Transport.dll)

Syntax

'Declaration
Public Sub Normalize
'Usage
Dim instance As EmailMessage

instance.Normalize()
public void Normalize()

Remarks

Adding and removing attachments, bodies, and headers for a message might leave the MIME hierarchy in a state that is not interpreted correctly by some existing mail clients. Use the Normalize method to correctly organize the MIME hierarchy of the message.

See also

Reference

EmailMessage class

EmailMessage members

Microsoft.Exchange.Data.Transport.Email namespace