MailMessage Class |
Namespace: GemBox.Email
The MailMessage type exposes the following members.
Name | Description | |
---|---|---|
MailMessage |
Initializes a new instance of the MailMessage class.
| |
MailMessage(String) |
Initializes a new instance of the MailMessage class with specified sender.
| |
MailMessage(MailAddress) |
Initializes a new instance of the MailMessage class with specified sender.
| |
MailMessage(String, String) |
Initializes a new instance of the MailMessage class with specified sender and recipient addresses.
| |
MailMessage(MailAddress, MailAddress) |
Initializes a new instance of the MailMessage class with specified sender and recipient addresses.
|
Name | Description | |
---|---|---|
Attachments |
Gets the attachments collection.
| |
Bcc |
Gets the 'Bcc' address collection.
| |
BodyHtml |
Gets or sets the message HTML body.
| |
BodyText |
Gets or sets the message text body.
| |
BodyTextCharset |
Gets or sets the message text body charset.
| |
Calendars |
Gets the calendars collection. Changes made to calendars retrieved through this property
will NOT be synchronized with MailMessage.
| |
Cc |
Gets the 'Cc' address collection.
| |
Date |
Gets or sets the message date.
| |
From |
Gets the 'From' address collection.
| |
Id |
Gets or sets the message id.
| |
MimeEntity |
Gets the underlying MIME entity.
| |
ReplyTo |
Gets the 'Reply-To' address collection.
| |
Sender |
Gets or sets the sender address
| |
Subject |
Gets or sets the message subject.
| |
To |
Gets the 'To' address collection.
|
Name | Description | |
---|---|---|
Clone |
Creates the copy of this MailMessage instance.
| |
Load(String) |
Loads the message from the specified file.
| |
Load(Stream, MailMessageFormat) |
Loads the message from the specified stream.
| |
Load(String, MailMessageFormat) |
Loads the message from the specified file.
| |
Save(String) |
Saves the message to a file.
| |
Save(Stream, MailMessageFormat) |
Saves the message to a stream.
| |
Save(String, MailMessageFormat) |
Saves the message to a file.
|