Zend Framework
1.12
|
Public Member Functions | |
__construct ($parameters=null) | |
Constructor. | |
_sendMail () | |
Send mail using PHP native mail() | |
_handleMailErrors ($errno, $errstr, $errfile=null, $errline=null, array $errcontext=null) | |
Temporary error handler for PHP native mail(). | |
![]() | |
send (Zend_Mail $mail) | |
Send a mail using this transport. | |
Public Attributes | |
$subject = null | |
$parameters | |
$EOL = PHP_EOL | |
![]() | |
$body = '' | |
$boundary = '' | |
$header = '' | |
$recipients = '' | |
$EOL = "\r\n" | |
Protected Member Functions | |
_prepareHeaders ($headers) | |
Format and fix headers. | |
![]() | |
_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. | |
Protected Attributes | |
$_errstr | |
![]() | |
$_headers = array() | |
$_isMultipart = false | |
$_mail = false | |
$_parts = array() | |
Additional Inherited Members | |
![]() | |
static | _formatHeader (&$item, $key, $prefix) |
Prepend header name to header value. | |
__construct | ( | $parameters = null | ) |
_handleMailErrors | ( | $errno, | |
$errstr, | |||
$errfile = null , |
|||
$errline = null , |
|||
array | $errcontext = null |
||
) |
Temporary error handler for PHP native mail().
int | $errno | |
string | $errstr | |
string | $errfile | |
string | $errline | |
array | $errcontext |
|
protected |
Format and fix headers.
mail() uses its $to and $subject arguments to set the To: and Subject: headers, respectively. This method strips those out as a sanity check to prevent duplicate header entries.
protected
array | $headers |
Zend_Mail_Transport_Exception |
_sendMail | ( | ) |
Send mail using PHP native mail()
public
Zend_Mail_Transport_Exception | if parameters is set but not a string |
Zend_Mail_Transport_Exception | on mail() failure |
Exception is thrown here because $parameters is a public property
|
protected |
$EOL = PHP_EOL |
$parameters |
$subject = null |