The HtmlEmailMessage type exposes the following members.

Methods

  Name Description
Public method AddAttachment
Adds an attachment to a message.
(Inherited from EmailMessage.)
Public method AddHeader(MimeHeader)
Adds MIME header to this
CopyC#
MimeMessage
.
(Inherited from MimeMessage.)
Public method AddHeader(String, String)
Adds MIME header to this
CopyC#
MimeMessage
.
(Inherited from MimeMessage.)
Public method AddPart
Adds part to multipart
CopyC#
MimeMessage
.
(Inherited from MimeMessage.)
Public method AddReplaceHeader(MimeHeader)
Adds MIME header to this
CopyC#
MimeMessage
, replacing existing header if found.
(Inherited from MimeMessage.)
Public method AddReplaceHeader(String, String)
Adds MIME header to this
CopyC#
MimeMessage
, replacing existing header if found.
(Inherited from MimeMessage.)
Public method Embed(FileInfo, String)
Embeds a resource in the email message
Public method Embed(String, String)
Embeds a resource in the email message.
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method 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.)
Public method GetAttachments
Gets an enumeration of message attachments.
(Inherited from EmailMessage.)
Public method GetBody
Gets the body of the message.
(Inherited from EmailMessage.)
Public method GetBodyData
Gets decoded message body as bytes.
(Inherited from MimeMessage.)
Public method GetBoundary
Gets boundary used in this
CopyC#
MimeMessage
.
(Inherited from MimeMessage.)
Public method GetBoundaryWithoutQuotes
Gets boundary used in this
CopyC#
MimeMessage
.
(Inherited from MimeMessage.)
Public method GetContentTransferEncoding
Gets the value of the Content-Transfer-Encoding header for this
CopyC#
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.
(Inherited from MimeMessage.)
Public method GetContentType
Gets Content-Type header of email message.
(Inherited from EmailMessage.)
Public method GetDate()()()()
Gets the message date.
(Inherited from EmailMessage.)
Public method GetDate(CultureInfo)
Gets the message date.
(Inherited from EmailMessage.)
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetHeader
Returns named header specified by
CopyC#
name
.
(Inherited from MimeMessage.)
Public method GetHeaders()()()()
Gets all mime headers for this
CopyC#
MimeMessage
.
(Inherited from MimeMessage.)
Public method GetHeaders(String)
Gets all MIME headers for this
CopyC#
MimeMessage
with specified name.
(Inherited from MimeMessage.)
Public method GetHeaderValue
Gets value for header specified by
CopyC#
name
.
(Inherited from MimeMessage.)
Public method GetMessage
Gets contents of this
CopyC#
HtmlEmailMessage
. Contents include all MIME message headers, body and any parts.
Public method GetPart
Gets specified part from this
CopyC#
MimeMessage
.
(Inherited from MimeMessage.)
Public method GetParts
Gets parts of this
CopyC#
MimeMessage
.
(Inherited from MimeMessage.)
Public method GetRawBodyData
Gets message body as bytes. The body will be returned as is.
(Inherited from MimeMessage.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method RemoveHeader
Removes specified header from this
CopyC#
MimeMessage
.
(Inherited from MimeMessage.)
Public method RemovePart
Removes specified
CopyC#
index
from parts array.
(Inherited from MimeMessage.)
Public method RemoveParts
Removes all parts from array.
(Inherited from MimeMessage.)
Public method SetBcc
Sets the Bcc address using the specified character encoding.
(Inherited from EmailMessage.)
Public method SetBody(array<Byte>[]()[][])
Sets body of this
CopyC#
MimeMessage
.
(Inherited from MimeMessage.)
Public method SetBody(FileStream)
Sets body of this
CopyC#
MimeMessage
.
(Inherited from MimeMessage.)
Public method SetBody(String)
Sets body of this
CopyC#
MimeMessage
. Default system character encoding is used to convert the body to bytes.
(Inherited from MimeMessage.)
Public method SetBody(String, String)
Sets body of this
CopyC#
MimeMessage
and sets the charset attribute of Content-Type header to provided character set. If Content-Type header is not found then a new Content-Type header will be created with a value of text/plain.
(Inherited from MimeMessage.)
Public method SetCc
Sets the Cc address using the specified character encoding.
(Inherited from EmailMessage.)
Public method SetContentType(String)
Sets Content-Type header of the email message.
(Inherited from EmailMessage.)
Public method SetContentType(String, String)
Sets Content-Type header of the email message.
(Inherited from EmailMessage.)
Public method SetFrom
Sets the From address using the specified character encoding.
(Inherited from EmailMessage.)
Public method SetHtmlBody(FileInfo)
Sets the HTML portion of this email message from contents of a file. HTML portion will be displayed by mail clients that are capable of displaying HTML and have HTML display enabled.
Public method SetHtmlBody(String)
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.
Public method SetReplyTo
Sets the ReplyTo address.
(Inherited from EmailMessage.)
Public method SetSubject
Sets the Subject of the message using the specified character encoding.
(Inherited from EmailMessage.)
Public method SetTextBody(FileInfo)
Sets the plain text portion of this email message from contents of a file. Text portion will be displayed by mail clients that are not capable of displaying HTML or have HTML display disabled.
Public method SetTextBody(String)
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.
Public method SetTo
Sets the To address using the specified character encoding.
(Inherited from EmailMessage.)
Public method ToString
Returns a String that represents the current Object.
(Inherited from Object.)

See Also