Abstract for sending eMails through different ways of transport
category | Zend |
---|---|
package | Zend_Mail |
subpackage | Transport |
copyright | Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
license | New BSD License |
send(\Zend_Mail $mail) : void
access | public |
---|
\Zend_Mail
\Zend_Mail_Transport_Exception |
if mail is empty |
---|
_buildBody() : void
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.
_formatHeader(string $item, string $key, string $prefix) : void
static | |
---|---|
access | protected |
string
string
string
_getHeaders(string $boundary) : 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 \$_mail present.
string
array
_prepareHeaders(mixed $headers) : void
Prepares and generates \$header based on the headers provided.
access | protected |
---|
mixed
\Zend_Mail_Transport_Exception |
if any header lines exceed 998 characters |
---|
_sendMail()
The requisite information for the email will be found in the following properties:
$EOL : string
"\r\n"
access | public |
---|
$body : string
''
access | public |
---|
$boundary : string
''
access | public |
---|
$header : string
''
access | public |
---|
$recipients : string
''
access | public |
---|
$_headers : array
array()
access | protected |
---|
$_isMultipart : boolean
false
access | protected |
---|
$_mail : false | \Zend_Mail
false
access | protected |
---|
$_parts : array
array()
access | protected |
---|