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

Public Methods

  NameDescription
Public methodAddAttachmentOverloaded.
Public methodAddVisualOverloaded.
Public methodCreate
Creates new ISimpleMailMessage using builder configuration.
Public methodCreateFromDocument
Creates new ISimpleMailMessage using specified MIME document.
Public methodCreateFromEml
Creates new ISimpleMailMessage using specified eml raw data string.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
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.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodSetHtmlData
Sets HTML data.
Public methodSetTextData
Sets plain text data.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

Protected Methods

  NameDescription
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)

Public Properties

  NameDescription
Public propertyAdditionalHeaders
Additional headers that will be added to ISimpleMailMessage object after Creation. Create()()
Public propertyBcc
'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.
Public propertyCc
'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.
Public propertyDate
'Date' field, message send date. May be null in case of parsing error.
Public propertyFrom
'From' field, author(s) of the message. If empty, email-message is NOT RFC 2822 compliant.
Public propertyImportance
'Importance' field, message's importance.
Public propertyInReplyTo
'In-Reply-To' field, message's parents. Without surrounding brackets (< and >)
Public propertyMessageID
'Message-ID' field, message's id. Without surrounding brackets (< and >)
Public propertyNotificationTo
'Disposition-notification-to' field. May be empty.
Public propertyPriority
'Priority' field, message's priority.
Public propertyReplyTo
'Reply-to' field, mailbox(es) to which the author of the message suggests that replies be sent. May be empty.
Public propertySender
'Sender' field, mailbox of the agent responsible for the actual transmission. If 'Sender' is null use From property.
Public propertySubject
'Subject' field, message's subject.
Public propertyTo
'To' field, address(es) of the primary recipient(s) of the message. May be empty.

See Also