Swift_Transport_EsmtpHandler::onCommand
Runs when a command is due to be sent.
Signature
public function onCommand(Swift_Transport_SmtpAgent
$agent,
[string&
$command = null,
[array&
$codes = null,
[array&
$failedRecipients = null,
[boolean&
$stop = false]]]] )
Parameters
$agent
— Swift_Transport_SmtpAgent- to read/write
$command
— string- to send
$codes
— array- expected in response
$failedRecipients
— array- to collect failures
$stop
— boolean- to be set true by-reference if the command is now sent