Public Member Functions | |
__construct ($parameters=null) | |
_sendMail () | |
_handleMailErrors ($errno, $errstr, $errfile=null, $errline=null, array $errcontext=null) | |
Data Fields | |
$subject = null | |
$parameters | |
$EOL = PHP_EOL | |
Protected Member Functions | |
_prepareHeaders ($headers) | |
Protected Attributes | |
$_errstr |
Definition at line 39 of file Sendmail.php.
__construct | ( | $ | parameters = null ) |
Constructor.
string | $parameters | OPTIONAL (Default: null) |
Definition at line 75 of file Sendmail.php.
_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 |
Definition at line 189 of file Sendmail.php.
_prepareHeaders | ( | $ | headers ) | [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 |
Reimplemented from Zend_Mail_Transport_Abstract.
Definition at line 129 of file Sendmail.php.
_sendMail | ( | ) |
Send mail using PHP native mail()
public
Zend_Mail_Transport_Exception | on mail() failure |
Reimplemented from Zend_Mail_Transport_Abstract.
Definition at line 88 of file Sendmail.php.