Email Factory for .NET

HtmlEmailMessage Members

HtmlEmailMessage overview

Public Instance Constructors

HtmlEmailMessage Constructor Creates a new HtmlEmailMessage instance

Public Instance Properties

Bcc (inherited from EmailMessage)Gets/Sets the Bcc header address.
Cc (inherited from EmailMessage)Gets/Sets the Cc header address.
ContentType (inherited from MimeMessage)Gets/Sets the Content-Type.
From (inherited from EmailMessage)Gets/Sets the From header address.
Message (inherited from MimeMessage)Gets/Sets the message.
Priority (inherited from EmailMessage)Gets/Sets the priority header.
ReplyTo (inherited from EmailMessage)Gets/Sets the ReplyTo header address.
Subject (inherited from EmailMessage)Gets/Sets the header Subject.
To (inherited from EmailMessage)Gets/Sets the To header address.

Public Instance Methods

AddAttachment (inherited from EmailMessage)Adds an attachment to a message.
AddHeader (inherited from MimeMessage)Overloaded. Adds MIME header to this
MimeMessage
.
AddPart (inherited from MimeMessage)Adds part to multipart
MimeMessage
.
AddReplaceHeader (inherited from MimeMessage)Overloaded. Adds MIME header to this
MimeMessage
, replacing existing header if found.
EmbedOverloaded. Embeds a resource in the email message.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetAttachments (inherited from EmailMessage)Gets an enumeration of message attachments.
GetBody (inherited from EmailMessage)Gets the body of the message.
GetBodyData (inherited from MimeMessage)Gets decoded message body as bytes.
GetBoundary (inherited from MimeMessage)Gets boundary used in this
MimeMessage
.
GetBoundaryWithoutQuotes (inherited from MimeMessage)Gets boundary used in this
MimeMessage
.
GetContentTransferEncoding (inherited from MimeMessage)Gets the value of the Content-Transfer-Encoding header for this
MimeMessage
. The Content-Transfer-Encoding header indicates the encoding method used for the message body. Typical values are BASE64, UUENCODE, 7BIT, 8BIT and QUOTED-PRINTABLE.
GetContentType (inherited from EmailMessage)Gets Content-Type header of email message.
GetDate (inherited from EmailMessage)Overloaded. Gets the message date.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetHeader (inherited from MimeMessage)Returns named header specified by
name
.
GetHeaders (inherited from MimeMessage)Overloaded. Gets all mime headers for this
MimeMessage
.
GetHeaderValue (inherited from MimeMessage)Gets value for header specified by
name
.
GetMessage Gets contents of this
HtmlEmailMessage
. Contents include all MIME message headers, body and any parts.
GetPart (inherited from MimeMessage)Gets specified part from this
MimeMessage
.
GetParts (inherited from MimeMessage)Gets parts of this
MimeMessage
.
GetRawBodyData (inherited from MimeMessage) Gets message body as bytes. The body will be returned as is.
GetType (inherited from Object)Gets the Type of the current instance.
RemoveHeader (inherited from MimeMessage)Removes specified header from this
MimeMessage
.
RemovePart (inherited from MimeMessage)Removes specified
index
from parts array.
RemoveParts (inherited from MimeMessage) Removes all parts from array.
SetBcc (inherited from EmailMessage)Sets the Bcc address using the specified character encoding.
SetBody (inherited from MimeMessage)Overloaded. Sets body of this
MimeMessage
. Default system character encoding is used to convert the body to bytes.
SetCc (inherited from EmailMessage)Sets the Cc address using the specified character encoding.
SetContentType (inherited from EmailMessage)Overloaded. Sets Content-Type header of the email message.
SetFrom (inherited from EmailMessage)Sets the From address using the specified character encoding.
SetHtmlBodyOverloaded. Sets the HTML portion of this email message. HTML portion will be displayed by mail clients that are capable of displaying HTML and have HTML display enabled.
SetReplyTo (inherited from EmailMessage)Sets the ReplyTo address.
SetSubject (inherited from EmailMessage)Sets the Subject of the message using the specified character encoding.
SetTextBodyOverloaded. Sets the plain text portion of this email message. Text portion will be displayed by mail clients that are not capable of displaying HTML or have HTML display disabled.
SetTo (inherited from EmailMessage)Sets the To address using the specified character encoding.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Fields

changed (inherited from MimeMessage) Tracks whether this MimeMessage has changed.
characterEncoding (inherited from MimeMessage) The character encoding used in this MimeMessage.
contentType (inherited from MimeMessage) The content type used in this MimeMessage.
definedBody (inherited from MimeMessage) The message body as defined using the setBody method.
headerIndex (inherited from MimeMessage) Tracks all MIME headers
headers (inherited from MimeMessage) The set of MimeHeader for this MimeMessage.
message (inherited from MimeMessage) The message contents as provided in the MimeMessage constructor.
messageBody (inherited from MimeMessage) The message body as parsed in the MimeMessage constructor.
parts (inherited from MimeMessage) The MIME parts for this MimeMessage.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

HtmlEmailMessage Class | Jscape.Email Namespace