Class Zend_Mail_Transport_Sendmail

Description

Class for sending eMails via the PHP internal mail() function

  • license: New BSD License
  • copyright: Copyright (c) 2006 Zend Technologies USA Inc. (http://www.zend.com)

Located in /Zend/Mail/Transport/Sendmail.php (line 38)

Zend_Mail_Transport_Abstract
   |
   --Zend_Mail_Transport_Sendmail
Variable Summary
string $EOL
string $subject
Method Summary
void _prepareHeaders (array $headers)
void _sendMail ()
Variables
Methods
_prepareHeaders (line 90)

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.

  • access: protected
void _prepareHeaders (array $headers)
  • array $headers

Redefinition of:
Zend_Mail_Transport_Abstract::_prepareHeaders()
Prepare header string for use in transport
_sendMail (line 67)

Send mail using PHP native mail()

  • access: public
  • throws: Zend_Mail_Transport_Exception on mail() failure
void _sendMail ()

Redefinition of:
Zend_Mail_Transport_Abstract::_sendMail()
Send an email independent from the used transport

Inherited Methods

Inherited From Zend_Mail_Transport_Abstract

Zend_Mail_Transport_Abstract::send()
Zend_Mail_Transport_Abstract::_buildBody()
Zend_Mail_Transport_Abstract::_formatHeader()
Zend_Mail_Transport_Abstract::_getHeaders()
Zend_Mail_Transport_Abstract::_prepareHeaders()
Zend_Mail_Transport_Abstract::_sendMail()

Documentation generated on Sun, 29 Oct 2006 21:27:31 -0600 by phpDocumentor 1.3.0RC6