Methods summary
public
string
|
#
getHandledKeyword( )
Get the name of the ESMTP extension this handles.
Get the name of the ESMTP extension this handles.
Returns
string string
|
public
|
#
setKeywordParams( array $parameters )
Set the parameters which the EHLO greeting indicated.
Set the parameters which the EHLO greeting indicated.
Parameters
|
public
|
|
public
string[]
|
#
getMailParams( )
Get params which are appended to MAIL FROM:<>.
Get params which are appended to MAIL FROM:<>.
Returns
string[] string[]
|
public
string[]
|
#
getRcptParams( )
Get params which are appended to RCPT TO:<>.
Get params which are appended to RCPT TO:<>.
Returns
string[] string[]
|
public
|
#
onCommand( Swift_Transport_SmtpAgent $agent, string $command, int[] $codes = [], string[] & $failedRecipients = null, boolean & $stop = false )
Runs when a command is due to be sent.
Runs when a command is due to be sent.
Parameters
- $agent
- to read/write
- $command
- to send
- $codes
- expected in response
- $failedRecipients
- to collect failures
- $stop
- to be set true by-reference if the command is now sent
|
public
integer
|
#
getPriorityOver( string $esmtpKeyword )
Returns +1, -1 or 0 according to the rules for usort().
Returns +1, -1 or 0 according to the rules for usort().
This method is called to ensure extensions can be execute in an appropriate
order.
Parameters
- $esmtpKeyword
- to compare with
Returns
integer int
|
public
string[]
|
#
exposeMixinMethods( )
Returns an array of method names which are exposed to the Esmtp class.
Returns an array of method names which are exposed to the Esmtp class.
Returns
string[] string[]
|
public
|
#
resetState( )
Tells this handler to clear any buffers and reset its state.
Tells this handler to clear any buffers and reset its state.
|