-
Notifications
You must be signed in to change notification settings - Fork 153
MailMessage
Namespace: AE.Net.Mail
The class name might come in conflict System.Net.Mail.MailMessage
The message ID, which can be used as the message reference in the client class calls
The subject (title) of the email
The following properties of MailAddress are used to identify
- To - the collection of recipients addresses
- Sender - the sender of the message
- From - the displayed from line. (could be different than Sender)
- ReplyTo - reply to address that should be used when message is "Replied" in the client
- Cc - the collection of carbon-copy address
- Bcc - the collection of blind-carbon-copy address
It is safe to assume that these properties ALWAYS exist and doesn't need to be checked for null value. However, it's also possible that any collection might not contain ANY values.
The property is not populated, if the message was received with headersonly flag set to true.
The textual representation of the body.
The property is not populated, if the message was received with headersonly flag set to true.
The collection of attachments that were marked as "AlternativeView". Such attachments contain the same message as the body of the email, but are used for a different representation. The typical use is to provide email in TEXT and HTML formats. AlternateViewCollection class, provides two convenience methods GetHtmlView() and GetTextView(). Both return an alternative-view attachement with mime type "text/html" and "text/plain" respectively.
The property is not populated, if the message was received with headersonly flag set to true.
The collection of attachments that were not marked as an "AlternativeView", and are treated as (a file) attachments email