Zend Framework
1.12
|
Public Member Functions | |
send (Zend_Mail $mail) | |
Send a mail using this transport. | |
Public Attributes | |
$body = '' | |
$boundary = '' | |
$header = '' | |
$recipients = '' | |
$EOL = "\r\n" | |
Protected Member Functions | |
_sendMail () | |
Send an email independent from the used transport. | |
_getHeaders ($boundary) | |
Return all mail headers as an array. | |
_prepareHeaders ($headers) | |
Prepare header string for use in transport. | |
_buildBody () | |
Generate MIME compliant message from the current configuration. | |
Static Protected Member Functions | |
static | _formatHeader (&$item, $key, $prefix) |
Prepend header name to header value. | |
Protected Attributes | |
$_headers = array() | |
$_isMultipart = false | |
$_mail = false | |
$_parts = array() | |
|
protected |
Generate MIME compliant message from the current configuration.
If both a text and HTML body are present, generates a multipart/alternative Zend_Mime_Part containing the headers and contents of each. Otherwise, uses whichever of the text or HTML parts present.
The content part is then prepended to the list of Zend_Mime_Parts for this message.
|
staticprotected |
Prepend header name to header value.
string | $item | |
string | $key | |
string | $prefix | protected |
|
protected |
Return all mail headers as an array.
If a boundary is given, a multipart header is generated with a Content-Type of either multipart/alternative or multipart/mixed depending on the mail parts present in the Zend_Mail object present.
string | $boundary |
|
protected |
Prepare header string for use in transport.
Prepares and generates $header based on the headers provided.
mixed | $headers | protected |
Zend_Mail_Transport_Exception | if any header lines exceed 998 characters |
|
abstractprotected |
Send an email independent from the used transport.
The requisite information for the email will be found in the following properties:
send | ( | Zend_Mail | ) |
Send a mail using this transport.
Zend_Mail | public |
Zend_Mail_Transport_Exception | if mail is empty |
|
protected |
|
protected |
|
protected |
|
protected |
$body = '' |
$boundary = '' |
$EOL = "\r\n" |
$header = '' |
$recipients = '' |