Swift_Transport_AbstractSmtpTransport::executeCommand
Run a command against the buffer, expecting the given response codes.
If no response codes are given, the response will not be validated. If codes are given, an exception will be thrown on an invalid response.
Signature
public function executeCommand(string
$command,
[array&
$codes = null,
[array&
$failures = null]] )
Parameters
$command
— string$codes
— array$failures
— array- An array of failures by-reference
Returns
- string