|
Previous Class |
Solar_Mail_Message |
Next Page |
Solar_Mail_Message
Class to build an email message for sending through a transport.
Heavily modified and refactored from Zend_Mail_Message and related classes.
Catalog
This class is part of the Solar_Mail package.
Inheritance:
- Solar_Base
- Solar_Mail_Message
Constants
None.
Public Properties
The Solar_Mail_Message class has no public properties; try the list of all properties.
Public Methods
These are all the public methods in the Solar_Mail_Message class.
You can also view the list of all public, protected, and private methods.
__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.
Local
- Overview
- Constants
- Properties
- Methods
- __construct()
- __destruct()
- _boundaryEnd()
- _boundarySep()
- _exception()
- addBcc()
- addCc()
- addHeader()
- addTo()
- apiVersion()
- attachFile()
- attachPart()
- dump()
- fetchContent()
- fetchHeaders()
- getCharset()
- getCrlf()
- getFrom()
- getHtml()
- getRcpt()
- getReplyTo()
- getReturnPath()
- getSubject()
- getText()
- locale()
- send()
- setCharset()
- setCrlf()
- setFrom()
- setHtml()
- setReplyTo()
- setReturnPath()
- setSubject()
- setText()