Class Swift_Plugins_PopBeforeSmtpPlugin
Makes sure a connection to a POP3 host has been established prior to connecting to SMTP.
- Swift_Plugins_PopBeforeSmtpPlugin implements Swift_Events_TransportChangeListener, Swift_Plugins_Pop_Pop3Connection
Package: Swift\Plugins
Author: Chris Corbyn
Located at vendors/swiftmailer/lib/classes/Swift/Plugins/PopBeforeSmtpPlugin.php
Author: Chris Corbyn
Located at vendors/swiftmailer/lib/classes/Swift/Plugins/PopBeforeSmtpPlugin.php
Methods summary
public
|
#
__construct( string $host, integer $port = 110, string $crypto = null )
Create a new PopBeforeSmtpPlugin for $host and $port. |
public static
|
#
newInstance( string $host, integer $port = 110, string $crypto = null )
Create a new PopBeforeSmtpPlugin for $host and $port. |
public
|
#
setConnection(
Set a Pop3Connection to delegate to instead of connecting directly. |
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
#
beforeTransportStarted(
Invoked just before a Transport is started. |
public
|
|
public
|
|
public
|
|
private
|
|
private
|
|
private
|
Magic methods summary
Properties summary
private
mixed
|
$_connection |
#
A delegate connection to use (mostly a test hook) |
private
mixed
|
$_host |
#
Hostname of the POP3 server |
private
mixed
|
$_port |
#
Port number to connect on |
private
mixed
|
$_crypto |
#
Encryption type to use (if any) |
private
mixed
|
$_username |
#
Username to use (if any) |
private
mixed
|
$_password |
#
Password to use (if any) |
private
mixed
|
$_socket |
#
Established connection via TCP socket |
private
integer
|
$_timeout |
#
Connect timeout in seconds |
private
mixed
|
$_transport |
#
SMTP Transport to bind to |