Implements interfaces:
SMTP connection object minimum implementation according to RFC2821: EHLO, MAIL FROM, RCPT TO, DATA, RSET, NOOP, QUIT
Located in /Zend/Mail/Transport/Smtp.php (line 41)
Constructor.
Connect to the server with the parameters given in the constructor and send "HELO". The connection is immediately closed if an error occurs.
sends the DATA command followed by the email content (headers plus body) folowed by a dot and validates the response of the server.
close an existing connection.
sends QUIT and closes stream.
Sends EHLO along with the given machine name and validates server response. If EHLO fails, HELO is sent for compatibility with older MTAs.
sends a MAIL command for the senders address and validates the response.
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.
Sends the QUIT command and validates answer
sends a RCPT command for a recipient address and validates the response.
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.
send an email
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.
Read the response from the stream and
check for expected return code. throws a Zend_Mail_Transport_Exception if an unexpected code is returned
Get a line from the stream. includes error checking and debugging
Send the given string followed by a LINEEND to the server
Documentation generated on Tue, 18 Apr 2006 11:55:37 -0700 by phpDocumentor 1.3.0RC3