An ESMTP handler for AUTH support.
| package | Swift |
|---|---|
| subpackage | Transport |
| author | Chris Corbyn |
__construct(array $authenticators)
\Swift_Transport_Esmtp_Authenticator[]
afterEhlo(\Swift_Transport_SmtpAgent $agent)
exposeMixinMethods() : string[]
string[]getAuthMode() : string
stringgetAuthenticators() : \Swift_Transport_Esmtp_Authenticator[]
getHandledKeyword() : boolean
booleangetMailParams() : string[]
string[]getPassword() : string
stringgetPriorityOver(string $esmtpKeyword) : int
This method is called to ensure extensions can be execute in an appropriate order.
stringto compare with
intgetRcptParams() : string[]
string[]getUsername() : string
stringonCommand(\Swift_Transport_SmtpAgent $agent, string $command, int[] $codes, string[] $failedRecipients, boolean $stop)
stringto send
int[]expected in response
string[]&$failedRecipients
boolean&$stop to be set true if the command is now sent
resetState()
setAuthMode(string $mode)
string
setAuthenticators(array $authenticators)
\Swift_Transport_Esmtp_Authenticator[]
setKeywordParams(array $parameters)
string[]
setPassword(string $password)
string
setUsername(string $username)
string
_getAuthenticatorsForAgent() : array
| access | protected |
|---|
array$_auth_mode : string
| access | private |
|---|
$_authenticators : \Swift_Transport_Esmtp_Authenticator[]
| access | private |
|---|
$_esmtpParams : string[]
| access | private |
|---|
$_password : string
| access | private |
|---|
$_username : string
| access | private |
|---|