Method |
Description |
|
__construct ( array $authenticators ) |
Create a new AuthHandler with $authenticators for support. |
|
afterEhlo ( Swift_Transport_SmtpAgent $agent ) |
Runs immediately after a EHLO has been issued. |
|
exposeMixinMethods ( ) : string[] |
Returns an array of method names which are exposed to the Esmtp class. |
|
getAuthMode ( ) : string |
Get the auth mode to use to authenticate. |
|
getAuthenticators ( ) : Swift_Transport_Esmtp_Authenticator[] |
Get the Authenticators which can process a login request. |
|
getHandledKeyword ( ) : boolean |
Get the name of the ESMTP extension this handles. |
|
getMailParams ( ) |
Not used. |
|
getPassword ( ) : string |
Get the password to authenticate with. |
|
getPriorityOver ( string $esmtpKeyword ) : integer |
Returns +1, -1 or 0 according to the rules for usort(). |
|
getRcptParams ( ) |
Not used. |
|
getUsername ( ) : string |
Get the username to authenticate with. |
|
onCommand ( Swift_Transport_SmtpAgent $agent, $command, $codes = [], &$failedRecipients = null, &$stop = false ) |
Not used. |
|
resetState ( ) |
Not used. |
|
setAuthMode ( string $mode ) |
Set the auth mode to use to authenticate. |
|
setAuthenticators ( array $authenticators ) |
Set the Authenticators which can process a login request. |
|
setKeywordParams ( array $parameters ) |
Set the parameters which the EHLO greeting indicated. |
|
setPassword ( string $password ) |
Set the password to authenticate with. |
|
setUsername ( string $username ) |
Set the username to authenticate with. |
|