Swift SMTP Connection
Located in /Swift/Connection/SMTP.php (line 20)
Swift_ConnectionBase | --Swift_Connection_SMTP
Add an authentication mechanism to authenticate with
Constructor
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
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::hasExtension()
Swift_ConnectionBase::postConnect()
Swift_ConnectionBase::setExtension()
AUTO_DETECT
= -2
(line 45)
Constant for auto-detection of paramters
ENC_OFF
= 8
(line 33)
Constant for unencrypted connections
ENC_SSL
= 4
(line 29)
Constant for SSL connections
ENC_TLS
= 2
(line 25)
Constant for TLS connections
PORT_DEFAULT
= 25
(line 37)
Constant for the default SMTP port
PORT_SECURE
= 465
(line 41)
Constant for the default secure SMTP port
Documentation generated on Tue, 06 Mar 2007 23:32:28 +0000 by phpDocumentor 1.3.1