Syntax
| C# |
|---|
public class SimpleMailMessageBuilder |
| Visual Basic (Declaration) |
|---|
Public Class SimpleMailMessageBuilder |
| Visual C++ |
|---|
public ref class SimpleMailMessageBuilder |
The type exposes the following members.
Public Constructors
| Name | Description | |
|---|---|---|
| SimpleMailMessageBuilderSimpleMailMessageBuilderNew |
Public Methods
| Name | Description | |
|---|---|---|
| AddAttachment | Overloaded. | |
| AddVisual | Overloaded. | |
| Create |
Creates new ISimpleMailMessage using builder configuration.
| |
| CreateFromDocument |
Creates new ISimpleMailMessage using specified MIME document.
| |
| CreateFromEml |
Creates new ISimpleMailMessage using specified eml raw data string.
| |
| Equals | (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. GetHashCode()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| SetHtmlData |
Sets HTML data.
| |
| SetTextData |
Sets plain text data.
| |
| ToString | (Inherited from Object.) |
Protected Methods
| Name | Description | |
|---|---|---|
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
Public Properties
| Name | Description | |
|---|---|---|
| AdditionalHeaders |
Additional headers that will be added to ISimpleMailMessage object after Creation.
Create()() | |
| Bcc |
'Bcc' field (Blind Carbon copy), addresses of others who are to receive the message,
tough the content of the message may not be directed at them.
May be empty.
| |
| Cc |
'Cc' field (Carbon copy), addresses of others who are to receive the message,
eventough the content of the message may not be directed at them.
May be empty.
| |
| Date |
'Date' field, message send date.
May be null in case of parsing error.
| |
| From |
'From' field, author(s) of the message.
If empty, email-message is NOT RFC 2822 compliant.
| |
| Importance |
'Importance' field, message's importance.
| |
| InReplyTo |
'In-Reply-To' field, message's parents.
Without surrounding brackets (< and >)
| |
| MessageID |
'Message-ID' field, message's id.
Without surrounding brackets (< and >)
| |
| NotificationTo |
'Disposition-notification-to' field.
May be empty.
| |
| Priority |
'Priority' field, message's priority.
| |
| ReplyTo |
'Reply-to' field, mailbox(es) to which the author of the message suggests that replies be sent.
May be empty.
| |
| Sender |
'Sender' field, mailbox of the agent responsible for the actual transmission.
If 'Sender' is null use From property.
| |
| Subject |
'Subject' field, message's subject.
| |
| To |
'To' field, address(es) of the primary recipient(s) of the message.
May be empty.
|
See Also
Lesnikowski.Mail Namespace