Swift SMTP Connection
Located in /Swift/Connection/SMTP.php (line 20)
Swift_ConnectionBase | --Swift_Connection_SMTP
Loaded authentication mechanisms
Encryption type to use
Fsockopen() error codes.
Fsockopen() error codes.
A connection handle
A password to authenticate with
The remote port number
A connection timeout
A username to authenticate with
Inherited from Swift_ConnectionBase
Swift_ConnectionBase::$extensions
Swift_ConnectionBase::$isESMTP
Constructor
Destructor.
Cleans up any open connections.
Add an authentication mechanism to authenticate with
Get the current encryption level used
This method returns an integer corresponding to one of the constants ENC_TLS, ENC_SSL or ENC_OFF
Get the password for authentication
Get the remote port number currently used to connect
Get the remote server name
Get the timeout currently set for connecting
Get the username for authentication
Check if the SMTP connection is alive
Authenticate if required to do so
Read a full response from the buffer
inner !feof() patch provided by Christian Rodriguez: <a href="http://www.flyspray.org/">www.flyspray.org</a>
Run each authenticator in turn an try for a successful login
If none works, throw an exception
Set the encryption level to use on the connection
See the constants ENC_TLS, ENC_SSL and ENC_OFF NOTE: PHP needs to have been compiled with OpenSSL for SSL and TLS to work NOTE: Some PHP installations will not have the TLS stream wrapper
Set the password for SMTP authentication
Set the remote port number to connect to
Set the remote server to connect to as a FQDN
Set the timeout to connect in seconds
Provide a username for authentication
Get the smtp error string as recorded by fsockopen()
Try to start the connection
Try to close the connection
Write a command to the server (leave off trailing CRLF)
Inherited From Swift_ConnectionBase
Swift_ConnectionBase::getAttributes()
Swift_ConnectionBase::getRequiresEHLO()
Swift_ConnectionBase::hasExtension()
Swift_ConnectionBase::postConnect()
Swift_ConnectionBase::setExtension()
Swift_ConnectionBase::setRequiresEHLO()
Constant for auto-detection of paramters
Constant for unencrypted connections
Constant for SSL connections
Constant for TLS connections
Constant for the default SMTP port
Constant for the default secure SMTP port
Documentation generated on Wed, 26 Mar 2008 20:33:11 +1100 by phpDocumentor 1.3.1