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: 8.2.23
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
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
Extension Methods
  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
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.
Public propertyRecipients
Gets or sets the Recipients.
Public propertyReplyTo
Gets or sets the ReplyTo address.
Public propertySubject
Gets or sets the Subject.
Top
See Also