Zend_Mail_Transport_SmtpSMTP connection object minimum implementation according to RFC2821: EHLO, MAIL FROM, RCPT TO, DATA, RSET, NOOP, QUIT
Located in /Zend/Mail/Transport/Smtp.php (line 45)
Zend_Mail_Transport_Abstract | --Zend_Mail_Transport_Smtp
Zend_Mail_Transport_Smtp
__construct
([string $host = '127.0.0.1'], [int $port = 25], [string $myName = '127.0.0.1'])
array
$lastResponse
= array() (line 60)
Last Response from the SMTP server, 1 Array Element per line
Stream
$_con
= null (line 67)
Stream to SMTP Server
mixed
$_host
(line 51)
mixed
$_myName
(line 53)
mixed
$_port
(line 52)
Inherited from Zend_Mail_Transport_Abstract
Zend_Mail_Transport_Abstract::$body
Zend_Mail_Transport_Abstract::$boundary
Zend_Mail_Transport_Abstract::$EOL
Zend_Mail_Transport_Abstract::$header
Zend_Mail_Transport_Abstract::$recipients
Zend_Mail_Transport_Abstract::$_headers
Zend_Mail_Transport_Abstract::$_isMultipart
Zend_Mail_Transport_Abstract::$_mail
Zend_Mail_Transport_Abstract::$_parts
Constructor __construct (line 76)
Constructor.
connect (line 91)
Connect to the server with the parameters given in the constructor and send "HELO". The connection is immediately closed if an error occurs.
data (line 186)
sends the DATA command followed by the email content (headers plus body) folowed by a dot and validates the response of the server.
disconnect (line 265)
close an existing connection.
sends QUIT and closes stream.
helo (line 137)
Sends EHLO along with the given machine name and validates server response. If EHLO fails, HELO is sent for compatibility with older MTAs.
mail_from (line 158)
sends a MAIL command for the senders address and validates the response.
noop (line 224)
Sends the NOOP command end validates answer Not used by Zend_Mail, could be used to keep a connection alive or check if it is still open.
quit (line 252)
Sends the QUIT command and validates answer
rcpt_to (line 171)
sends a RCPT command for a recipient address and validates the response.
rset (line 210)
Sends the RSET command end validates answer Not used by Zend_Mail, can be used to restore a clean smtp communication state when a transaction has been cancelled.
vrfy (line 240)
Sends the VRFY command end validates answer The calling method needs to evaluate $this->lastResponse This function was implemented for completeness only.
It is not used by Zend_Mail.
_expect (line 284)
Read the response from the stream and
check for expected return code. throws a Zend_Mail_Transport_Exception if an unexpected code is returned
_receive (line 321)
Get a line from the stream. includes error checking and debugging
_send (line 343)
Send the given string followed by a LINEEND to the server
_sendMail (line 360)
Send an email
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 Tue, 11 Jul 2006 12:18:06 -0500 by phpDocumentor 1.3.0RC6