TYPO3
7.6
|
Protected Member Functions | |
_getBufferParams () | |
_doHeloCommand () | |
_doMailFromCommand ($address) | |
_doRcptToCommand ($address) | |
Protected Member Functions inherited from Swift_Transport_AbstractSmtpTransport | |
_getBufferParams () | |
_readGreeting () | |
_doHeloCommand () | |
_doMailFromCommand ($address) | |
_doRcptToCommand ($address) | |
_doDataCommand () | |
_streamMessage (Swift_Mime_Message $message) | |
_getReversePath (Swift_Mime_Message $message) | |
_throwException (Swift_TransportException $e) | |
_assertResponseCode ($response, $wanted) | |
_getFullResponse ($seq) | |
Private Member Functions | |
_getCapabilities ($ehloResponse) | |
_setHandlerParams () | |
_getActiveHandlers () | |
_sortHandlers ($a, $b) | |
Private Attributes | |
$_handlers = array() | |
$_capabilities = array() | |
$_params | |
Additional Inherited Members | |
Protected Attributes inherited from Swift_Transport_AbstractSmtpTransport | |
$_buffer | |
$_started = false | |
$_domain = '[127.0.0.1]' | |
$_eventDispatcher | |
$_sourceIp | |
Sends Messages over SMTP with ESMTP support.
Definition at line 16 of file EsmtpTransport.php.
__construct | ( | Swift_Transport_IoBuffer | $buf, |
array | $extensionHandlers, | ||
Swift_Events_EventDispatcher | $dispatcher | ||
) |
Creates a new EsmtpTransport using the given I/O buffer.
Swift_Transport_IoBuffer | $buf | |
Swift_Transport_EsmtpHandler[] | $extensionHandlers | |
Swift_Events_EventDispatcher | $dispatcher |
Definition at line 54 of file EsmtpTransport.php.
References setExtensionHandlers().
__call | ( | $method, | |
$args | |||
) |
Mixin handling method for ESMTP handlers
Definition at line 249 of file EsmtpTransport.php.
|
protected |
Overridden to perform EHLO instead
Definition at line 274 of file EsmtpTransport.php.
References $response, _getActiveHandlers(), _getCapabilities(), _setHandlerParams(), Swift_Transport_AbstractSmtpTransport\_throwException(), and executeCommand().
|
protected |
Overridden to add Extension support
Definition at line 312 of file EsmtpTransport.php.
References _getActiveHandlers(), and executeCommand().
|
protected |
Overridden to add Extension support
Definition at line 326 of file EsmtpTransport.php.
References _getActiveHandlers(), and executeCommand().
|
private |
Get ESMTP handlers which are currently ok to use
Definition at line 369 of file EsmtpTransport.php.
Referenced by _doHeloCommand(), _doMailFromCommand(), _doRcptToCommand(), and executeCommand().
|
protected |
Get the params to initialize the buffer
Definition at line 268 of file EsmtpTransport.php.
References $_params.
|
private |
Determine ESMTP capabilities by function group
Definition at line 340 of file EsmtpTransport.php.
Referenced by _doHeloCommand().
|
private |
Set parameters which are used by each extension handler
Definition at line 359 of file EsmtpTransport.php.
Referenced by _doHeloCommand(), and setExtensionHandlers().
|
private |
Custom sort for extension handler ordering
Definition at line 382 of file EsmtpTransport.php.
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.
string | $command | |
int[] | $codes | |
string[] | $failures An array of failures by-reference |
Implements Swift_Transport_SmtpAgent.
Definition at line 229 of file EsmtpTransport.php.
References $response, and _getActiveHandlers().
Referenced by _doHeloCommand(), _doMailFromCommand(), and _doRcptToCommand().
getEncryption | ( | ) |
getExtensionHandlers | ( | ) |
Get ESMTP extension handlers.
Definition at line 212 of file EsmtpTransport.php.
getHost | ( | ) |
getPort | ( | ) |
getSourceIp | ( | ) |
Returns the IP used to connect to the destination.
Definition at line 182 of file EsmtpTransport.php.
getTimeout | ( | ) |
setEncryption | ( | $encryption | ) |
Set the encryption type (tls or ssl).
string | $encryption |
Definition at line 140 of file EsmtpTransport.php.
Referenced by Swift_SmtpTransport\__construct().
setExtensionHandlers | ( | array | $handlers | ) |
Set ESMTP extension handlers.
Swift_Transport_EsmtpHandler[] | $handlers |
Definition at line 194 of file EsmtpTransport.php.
References _setHandlerParams().
Referenced by __construct().
setHost | ( | $host | ) |
Set the host to connect to.
string | $host |
Definition at line 67 of file EsmtpTransport.php.
Referenced by Swift_SmtpTransport\__construct().
setPort | ( | $port | ) |
Set the port to connect to.
int | $port |
Definition at line 91 of file EsmtpTransport.php.
Referenced by Swift_SmtpTransport\__construct().
setSourceIp | ( | $source | ) |
setTimeout | ( | $timeout | ) |
Set the connection timeout.
int | $timeout | seconds |
Definition at line 115 of file EsmtpTransport.php.
|
private |
Definition at line 30 of file EsmtpTransport.php.
|
private |
Definition at line 23 of file EsmtpTransport.php.
|
private |
Definition at line 37 of file EsmtpTransport.php.
Referenced by _getBufferParams().