Метод |
Описание |
|
__construct ( string $host, integer $port = 110, string $crypto = null ) |
Create a new PopBeforeSmtpPlugin for $host and $port. |
|
beforeTransportStarted ( Swift_Events_TransportChangeEvent $evt ) |
Invoked just before a Transport is started. |
|
beforeTransportStopped ( Swift_Events_TransportChangeEvent $evt ) |
Not used. |
|
bindSmtp ( Swift_Transport $smtp ) |
Bind this plugin to a specific SMTP transport instance. |
|
connect ( ) |
Connect to the POP3 host and authenticate. |
|
disconnect ( ) |
Disconnect from the POP3 host. |
|
newInstance ( string $host, integer $port = 110, string $crypto = null ) : Swift_Plugins_PopBeforeSmtpPlugin |
Create a new PopBeforeSmtpPlugin for $host and $port. |
|
setConnection ( Swift_Plugins_Pop_Pop3Connection $connection ) : Swift_Plugins_PopBeforeSmtpPlugin |
Set a Pop3Connection to delegate to instead of connecting directly. |
|
setPassword ( string $password ) : Swift_Plugins_PopBeforeSmtpPlugin |
Set the password to use when connecting (if needed). |
|
setTimeout ( integer $timeout ) : Swift_Plugins_PopBeforeSmtpPlugin |
Set the connection timeout in seconds (default 10). |
|
setUsername ( string $username ) : Swift_Plugins_PopBeforeSmtpPlugin |
Set the username to use when connecting (if needed). |
|
transportStarted ( Swift_Events_TransportChangeEvent $evt ) |
Not used. |
|
transportStopped ( Swift_Events_TransportChangeEvent $evt ) |
Not used. |
|