Share via


EmailMessage members

The EmailMessage class represents an e-mail message.

The EmailMessage type exposes the following members.

Properties

  Name Description
Public property Attachments The Attachments property gets the set of attachments from the message.
Public property Bcc The Bcc property gets the hidden recipients of the message.
Public property Body When overridden in a derived class, the Body property gets the body of the message.
Public property CalendarPart The CalendarPart property gets the Multipurpose Internet Mail Extensions (MIME) part of the calendar content of the message.
Public property Cc The Cc property gets the secondary recipients of the message.
Public property Date The Date property gets or sets the date and time that the message is sent.
Public property DispositionNotificationTo The DispositionNotificationTo property gets or sets the recipient for message disposition notifications.
Public property Expires When overridden in a derived class, the Expires property gets or sets the date and time the message expires.
Public property From The From property gets the author(s) of the message.
Public property Importance When overridden in a derived class, the Importance property gets or sets a value that indicates the importance of the message.
Public property IsInterpersonalMessage When overridden in a derived class, the IsInterpersonalMessage property gets a value that indicates whether the message is an interpersonal message.
Public property IsOpaqueMessage 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.
Public property IsSystemMessage When overridden in a derived class, the IsSystemMessage property gets a value that indicates whether the message is a system message.
Public property MapiMessageClass When overridden in a derived class, the MapiMessageClass property returns the message.
Public property MessageId The MessageId property gets or sets the value of the Message-ID header for the message.
Public property MessageSecurityType When overridden in a derived class, the MessageSecurityType property gets a value that indicates the type of security for the message.
Public property MimeDocument When overridden in a derived class, the MimeDocument property gets the underlying MimeDocument for the message.
Public property Priority When overridden in a derived class, the Priority property gets or sets one of the Priority values that indicates the priority of the message.
Public property ReplyBy When overridden in a derived class, the ReplyBy property gets or sets a value that indicates the date and time by which a reply to the message is expected.
Public property ReplyTo When overridden in a derived class, the ReplyTo property gets a value that represents the recipients to whom the message is addressed.
Public property RootPart When overriden in a derived class, the RootPart property gets the underlying MimePart for the message.
Public property Sender The Sender property gets or sets a value that represents the sender of the message.
Public property Sensitivity When overridden in a derived class, the Sensitivity property gets or sets a value that represents the sensitivity of the message.
Public property Subject The Subject property gets or sets the subject of the message.
Public property TnefPart When overridden in a derived class, the TnefPart property gets the Multipurpose Internet Mail Extensions (MIME) part of the Transport Neutral Encapsulation Format (TNEF) content of the message.
Public property To The To property gets the primary recipients of the message.

Top

Methods

  Name Description
Public methodStatic member Create() The Create method creates a new instance of the EmailMessage class.
Public methodStatic member Create(Stream) The Create method creates a new instance of the EmailMessage class by using the specified stream.
Public methodStatic member Create(BodyFormat) The Create method creates a new instance of the EmailMessage class by using the specified BodyFormat.
Public methodStatic member Create(MimeDocument) The Create method creates a new instance of the EmailMessage class by using the specified MimeDocument.
Public methodStatic member Create(BodyFormat, Boolean) The Create method creates a new instance of the EmailMessage class by using the specified BodyFormat and createAlternative value.
Public methodStatic member Create(BodyFormat, Boolean, String) The Create method creates a new instance of the EmailMessage class by using the specified BodyFormat, createAlternative parameter value, and charsetName parameter value.
Public method Dispose() The Dispose method releases all resources used by the EmailMessage.
Protected method Dispose(Boolean) The Dispose method releases the unmanaged resources used by the EmailMessage and optionally releases the managed resources.
Public method Normalize The Normalize method collapses and reorders the Multipurpose Internet Mail Extensions (MIME) hierarchy for the message.

Top

See also

Reference

EmailMessage class

Microsoft.Exchange.Data.Transport.Email namespace