Previous Page
Properties

Solar_Mail_Message
Methods

Next Page
__construct()

Methods

Public

__construct()
Constructor.
__destruct()
Default destructor; does nothing other than provide a safe fallback for calls to parent::__destruct().
addBcc()
Adds a "Bcc:" address recipient.
addCc()
Adds a "Cc:" address recipient.
addHeader()
Adds a custom header to the message.
addTo()
Adds a "To:" address recipient.
apiVersion()
Reports the API version for this class.
attachFile()
Attaches a file to the message.
attachPart()
Attaches a Solar_Mail_Message_Part to the message.
dump()
Convenience method for getting a dump the whole object, or one of its properties, or an external variable.
fetchContent()
Fetches all the content parts of this message as a string.
fetchHeaders()
Fetches all the headers of this message as a sequential array.
getCharset()
Returns the character set for this message.
getCrlf()
Returns the CRLF sequence for this message.
getFrom()
Returns the "From:" address for this message.
getHtml()
Returns the Solar_Mail_Message_Part for the HTML portion.
getRcpt()
Returns an array of all recipient addresses.
getReplyTo()
Returns the "Reply-To:" address for this message.
getReturnPath()
Returns the current Return-Path address for the email.
getSubject()
Returns the message subject.
getText()
Returns the Solar_Mail_Message_Part for the plain-text portion.
locale()
Looks up class-specific locale strings based on a key.
send()
If a transport dependency has been injected, use it to send this email.
setCharset()
Sets the character set for this message.
setCrlf()
Sets the CRLF sequence for this message.
setFrom()
Sets the "From:" (sender) on this message.
setHtml()
Sets the part for the HTML portion of this message.
setReplyTo()
Sets the "Reply-To:" on this message.
setReturnPath()
Sets the Return-Path header for an email.
setSubject()
Sets the subject of the message.
setText()
Sets the part for the plain-text portion of this message.

Protected

_boundaryEnd()
Returns a boundary-line ending.
_boundarySep()
Returns a boundary-line separator.
_exception()
Convenience method for returning exceptions with localized text.

Private

None.