DotNetOpenMail 0.5.7 (beta)

EmailMessage Properties

The properties of the EmailMessage class are listed below. For a complete list of EmailMessage class members, see the EmailMessage Members topic.

Public Instance Properties

BccAddresses Get the current EmailAddressCollection of BCC addresses
BodyText The text that occurs within the body. By default, it is a MIME notice, but it can be overridden here. NOTE: This is only useful for 7 bit us-ascii currently.
CcAddresses Retrieve the collection of recipients that will appear in the "Cc" header of the email.
ContentType Set the content type string in the mime header
EnvelopeFromAddress Normally the FromAddress is used as the envelope-from address, but it can be overridden here, if it is not null.
FromAddress The address that appears in the From header. It will also be used as the Envelope From address in the SMTP negotiation, unless it is overridden by the EnvelopeFromAddress setting.
HeaderCharSet The charset that is used for encoding the headers
HeaderEncoding The mime encoding that is used for encoding the headers
HtmlPart Set the html part of the email. This is optional
Organization Get/set the organization (as it will appear in the organization header
Subject The subject line or subject header of the email.
TextPart Set the plain text part of the email. This is optional
ToAddresses Retrieve the collection of recipients that will appear in the "To" header of the email.
XMailer Get the current XMailer setting for the X-Mailer header.

See Also

EmailMessage Class | DotNetOpenMail Namespace