EmailMessage members
The EmailMessage class represents an e-mail message.
The EmailMessage type exposes the following members.
Properties
Name | Description | |
---|---|---|
Attachments | The Attachments property gets the set of attachments from the message. | |
Bcc | The Bcc property gets the hidden recipients of the message. | |
Body | When overridden in a derived class, the Body property gets the body of the message. | |
CalendarPart | The CalendarPart property gets the Multipurpose Internet Mail Extensions (MIME) part of the calendar content of the message. | |
Cc | The Cc property gets the secondary recipients of the message. | |
Date | The Date property gets or sets the date and time that the message is sent. | |
DispositionNotificationTo | The DispositionNotificationTo property gets or sets the recipient for message disposition notifications. | |
Expires | When overridden in a derived class, the Expires property gets or sets the date and time the message expires. | |
From | The From property gets the author(s) of the message. | |
Importance | When overridden in a derived class, the Importance property gets or sets a value that indicates the importance of the message. | |
IsInterpersonalMessage | When overridden in a derived class, the IsInterpersonalMessage property gets a value that indicates whether the message is an interpersonal message. | |
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. | |
IsSystemMessage | When overridden in a derived class, the IsSystemMessage property gets a value that indicates whether the message is a system message. | |
MapiMessageClass | When overridden in a derived class, the MapiMessageClass property returns the message. | |
MessageId | The MessageId property gets or sets the value of the Message-ID header for the message. | |
MessageSecurityType | When overridden in a derived class, the MessageSecurityType property gets a value that indicates the type of security for the message. | |
MimeDocument | When overridden in a derived class, the MimeDocument property gets the underlying MimeDocument for the message. | |
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. | |
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. | |
ReplyTo | When overridden in a derived class, the ReplyTo property gets a value that represents the recipients to whom the message is addressed. | |
RootPart | When overriden in a derived class, the RootPart property gets the underlying MimePart for the message. | |
Sender | The Sender property gets or sets a value that represents the sender of the message. | |
Sensitivity | When overridden in a derived class, the Sensitivity property gets or sets a value that represents the sensitivity of the message. | |
Subject | The Subject property gets or sets the subject of the message. | |
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. | |
To | The To property gets the primary recipients of the message. |
Top
Methods
Name | Description | |
---|---|---|
Create() | The Create method creates a new instance of the EmailMessage class. | |
Create(Stream) | The Create method creates a new instance of the EmailMessage class by using the specified stream. | |
Create(BodyFormat) | The Create method creates a new instance of the EmailMessage class by using the specified BodyFormat. | |
Create(MimeDocument) | The Create method creates a new instance of the EmailMessage class by using the specified MimeDocument. | |
Create(BodyFormat, Boolean) | The Create method creates a new instance of the EmailMessage class by using the specified BodyFormat and createAlternative value. | |
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. | |
Dispose() | The Dispose method releases all resources used by the EmailMessage. | |
Dispose(Boolean) | The Dispose method releases the unmanaged resources used by the EmailMessage and optionally releases the managed resources. | |
Normalize | The Normalize method collapses and reorders the Multipurpose Internet Mail Extensions (MIME) hierarchy for the message. |
Top