TYPO3  7.6
Public Member Functions | List of all members
Swift_Transport_SmtpAgent Interface Reference
Inheritance diagram for Swift_Transport_SmtpAgent:
Swift_Transport_EsmtpTransport Swift_SmtpTransport

Public Member Functions

 getBuffer ()
 
 executeCommand ($command, $codes=array(), &$failures=null)
 

Detailed Description

Wraps an IoBuffer to send/receive SMTP commands/responses.

Author
Chris Corbyn

Definition at line 16 of file SmtpAgent.php.

Member Function Documentation

executeCommand (   $command,
  $codes = array(),
$failures = null 
)

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.

Parameters
string$command
int[]$codes
string[]$failures An array of failures by-reference

Implemented in Swift_Transport_EsmtpTransport.

Referenced by Swift_Transport_Esmtp_Auth_CramMd5Authenticator\authenticate(), Swift_Transport_Esmtp_Auth_LoginAuthenticator\authenticate(), Swift_Transport_Esmtp_Auth_PlainAuthenticator\authenticate(), Swift_Transport_Esmtp_Auth_NTLMAuthenticator\authenticate(), Swift_Transport_Esmtp_Auth_XOAuth2Authenticator\authenticate(), Swift_Transport_Esmtp_Auth_NTLMAuthenticator\sendMessage1(), and Swift_Transport_Esmtp_Auth_NTLMAuthenticator\sendMessage3().

getBuffer ( )

Get the IoBuffer where read/writes are occurring.

Returns
Swift_Transport_IoBuffer