Click or drag to resize
EmailMessage Class
Represents an e-mail message.
Inheritance Hierarchy
SystemObject
  CMS.EmailEngineEmailMessage

Namespace: CMS.EmailEngine
Assembly: CMS.EmailEngine (in CMS.EmailEngine.dll) Version: 13.0.131
Syntax
C#
public class EmailMessage

The EmailMessage type exposes the following members.

Constructors
  NameDescription
Public methodEmailMessage
Initializes a new instance of the EmailMessage class.
Public methodEmailMessage(MailMessage)
Initializes a new instance of the EmailMessage class form the specified message.
Top
Properties
  NameDescription
Public propertyAttachments
Gets the collection of e-mail attachments.
Public propertyBccRecipients
Gets or sets the BccRecipients.
Public propertyBody
Gets or sets the Body.
Public propertyCcRecipients
Gets or sets the CcRecipients.
Public propertyEmailFormat
Gets or sets the e-mail format.
Public propertyFrom
Gets or sets the From address.
Public propertyHeaders
Gets the collection of extra e-mail header fields (apart from the standard set).
Public propertyPlainTextBody
Gets or sets plain text body.
Public propertyPriority
Gets or sets e-mail priority which defines order when sending via email queue.
Public propertyRecipients
Gets or sets the Recipients.
Public propertyReplyTo
Gets or sets the ReplyTo address.
Public propertySubject
Gets or sets the Subject.
Top
Methods
  NameDescription
Public methodStatic memberGetHeaderFields(NameValueCollection)
Gets email header fields joined into a single string.
Public methodStatic memberGetHeaderFields(String)
Gets individual email header fields from header text.
Public methodToMailMessage
Converts the EmailMessage to MailMessage.
Top
See Also