Zend_Mail_Transport_SmtpImplements interfaces:
SMTP connection object minimum implementation according to RFC2821: EHLO, MAIL FROM, RCPT TO, DATA, RSET, NOOP, QUIT
Located in /library/Zend/Mail/Transport/Smtp.php (line 41)
Zend_Mail_Transport_Smtp
__construct
(string $host, [int $port = 25], [string $myName = '127.0.0.1'])
Constructor __construct (line 73)
Constructor.
connect (line 88)
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 185)
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 261)
close an existing connection.
sends QUIT and closes stream.
helo (line 134)
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 155)
sends a MAIL command for the senders address and validates the response.
noop (line 220)
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 248)
Sends the QUIT command and validates answer
rcpt_to (line 169)
sends a RCPT command for a recipient address and validates the response.
rset (line 206)
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.
sendMail (line 358)
send an email
vrfy (line 236)
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 280)
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 317)
Get a line from the stream. includes error checking and debugging
_send (line 339)
Send the given string followed by a LINEEND to the server
Documentation generated on Wed, 08 Mar 2006 04:54:52 -0800 by phpDocumentor 1.3.0RC4