This documentation is archived and is not being maintained.

EmailMessage.IsOpaqueMessage Property

When overridden in a derived class, the IsOpaqueMessage property gets a value that indicates whether the message is encrypted or encapsulated in a format that the EmailMessage class cannot parse.

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

public bool IsOpaqueMessage { get; }

Property Value

Type: System.Boolean
When overridden in a derived class, the IsOpaqueMessage property returns true if the message is encrypted or in a format that the EmailMessage class cannot parse; otherwise, the property returns false.

Opaque messages include messages that are encrypted and some types of signed messages. When the IsOpaqueMessage property is true, the EmailMessage class provides read-only access to the message.

NoteNote

If you add or remove attachments or bodies from a signed e-mail message, the signature will be removed from the message. To retain the digital signature, we recommend that you create a new message that wraps the signed message by adding the signed message as an attachment to the new message.

Show: