aspNetEmail

MimeBodyPart Members

MimeBodyPart overview

Public Instance Constructors

MimeBodyPartOverloaded. Initializes a new instance of the MimeBodyPart class.

Public Instance Properties

Body The body part contents.
BodyFormat The Format of the body, either HTML formatted or TEXT formatted. Can be either MailFormat.Text for text formatted email or MailFormat.Html for HTML formatted email. By default, the body format is text formatted.
CharSet Gets or Sets the character set for a given encoding.
ContentLocation Content location header value of the MimeBodyPart.
ContentTransferEncoding Sets the ContentTransfer Encoding for the individual Mime Body Part
ContentType The Content-type of the email, for example text/html; or text/plain;. This property overrides the value set for BodyFormat
UrlContentBase Sets the URL ContentBase header for the Mime Part.
WordWrapLen Setting a value to word-wrap will wrap the body text for each line to this length. By default this value is set to -1, and is ignored.

Public Instance Methods

AppendBodyFromFileOverloaded. Appends the contents of a file from a file.
AppendBodyFromUrlOverloaded. Appends the html content from a URL to the body.
AppendControlToBodyOverloaded. Appends rendered html of a System.Web.UI.Control to the body.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
ToStringOverloaded. Converts the MimeBodyPart contents to it's Mime formatted string.

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

MimeBodyPart Class | aspNetEmail Namespace