XOOPS RMCommon Utilities
2.1.8.91RC
|
Public Member Functions | |
__construct (Swift_Transport_IoBuffer $buf, array $extensionHandlers, Swift_Events_EventDispatcher $dispatcher) | |
__call ($method, $args) | |
executeCommand ($command, $codes=array(), &$failures=null) | |
getEncryption () | |
getExtensionHandlers () | |
getHost () | |
getPort () | |
getTimeout () | |
setEncryption ($enc) | |
setExtensionHandlers (array $handlers) | |
setHost ($host) | |
setPort ($port) | |
setTimeout ($timeout) | |
Public Member Functions inherited from Swift_Transport_AbstractSmtpTransport | |
__construct (Swift_Transport_IoBuffer $buf, Swift_Events_EventDispatcher $dispatcher) | |
__destruct () | |
executeCommand ($command, $codes=array(), &$failures=null) | |
getBuffer () | |
getLocalDomain () | |
isStarted () | |
registerPlugin (Swift_Events_EventListener $plugin) | |
reset () | |
send (Swift_Mime_Message $message, &$failedRecipients=null) | |
setLocalDomain ($domain) | |
start () | |
stop () | |
Public Member Functions inherited from Swift_Transport_SmtpAgent | |
getBuffer () | |
Protected Member Functions | |
_doHeloCommand () | |
_doMailFromCommand ($address) | |
_doRcptToCommand ($address) | |
_getBufferParams () | |
Protected Member Functions inherited from Swift_Transport_AbstractSmtpTransport | |
_assertResponseCode ($response, $wanted) | |
_doDataCommand () | |
_doHeloCommand () | |
_doMailFromCommand ($address) | |
_doRcptToCommand ($address) | |
_getBufferParams () | |
_getFullResponse ($seq) | |
_getReversePath (Swift_Mime_Message $message) | |
_readGreeting () | |
_streamMessage (Swift_Mime_Message $message) | |
_throwException (Swift_TransportException $e) | |
Private Member Functions | |
_getActiveHandlers () | |
_getCapabilities ($ehloResponse) | |
_setHandlerParams () | |
_sortHandlers ($a, $b) | |
Private Attributes | |
$_capabilities = array() | |
$_handlers = array() | |
$_params | |
Additional Inherited Members | |
Protected Attributes inherited from Swift_Transport_AbstractSmtpTransport | |
$_buffer | |
$_domain = '[127.0.0.1]' | |
$_eventDispatcher | |
$_started = false | |
Definition at line 25 of file EsmtpTransport.php.
Swift_Transport_EsmtpTransport::__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 64 of file EsmtpTransport.php.
References __construct(), and setExtensionHandlers().
Swift_Transport_EsmtpTransport::__call | ( | $method, | |
$args | |||
) |
Mixin handling method for ESMTP handlers
Definition at line 203 of file EsmtpTransport.php.
|
protected |
Overridden to perform EHLO instead
Definition at line 235 of file EsmtpTransport.php.
References _getActiveHandlers(), _getCapabilities(), _setHandlerParams(), and executeCommand().
|
protected |
Overridden to add Extension support
Definition at line 257 of file EsmtpTransport.php.
References _getActiveHandlers(), and executeCommand().
|
protected |
Overridden to add Extension support
Definition at line 272 of file EsmtpTransport.php.
References _getActiveHandlers(), and executeCommand().
|
private |
Get ESMTP handlers which are currently ok to use
Definition at line 321 of file EsmtpTransport.php.
Referenced by _doHeloCommand(), _doMailFromCommand(), _doRcptToCommand(), and executeCommand().
|
protected |
Get the params to initialize the buffer
Definition at line 229 of file EsmtpTransport.php.
References $_params.
|
private |
Determine ESMTP capabilities by function group
Definition at line 289 of file EsmtpTransport.php.
Referenced by _doHeloCommand().
|
private |
Set parameters which are used by each extension handler
Definition at line 309 of file EsmtpTransport.php.
Referenced by _doHeloCommand(), and setExtensionHandlers().
|
private |
Custom sort for extension handler ordering
Definition at line 335 of file EsmtpTransport.php.
Swift_Transport_EsmtpTransport::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 |
Implements Swift_Transport_SmtpAgent.
Definition at line 182 of file EsmtpTransport.php.
References _getActiveHandlers().
Referenced by _doHeloCommand(), _doMailFromCommand(), and _doRcptToCommand().
Swift_Transport_EsmtpTransport::getEncryption | ( | ) |
Swift_Transport_EsmtpTransport::getExtensionHandlers | ( | ) |
Get ESMTP extension handlers.
Definition at line 168 of file EsmtpTransport.php.
Swift_Transport_EsmtpTransport::getHost | ( | ) |
Swift_Transport_EsmtpTransport::getPort | ( | ) |
Swift_Transport_EsmtpTransport::getTimeout | ( | ) |
Swift_Transport_EsmtpTransport::setEncryption | ( | $enc | ) |
Set the encryption type (tls or ssl)
string | $encryption |
Definition at line 132 of file EsmtpTransport.php.
Referenced by Swift_SmtpTransport\__construct().
Swift_Transport_EsmtpTransport::setExtensionHandlers | ( | array | $handlers | ) |
Set ESMTP extension handlers.
Swift_Transport_EsmtpHandler[] | $handlers |
Definition at line 151 of file EsmtpTransport.php.
References _setHandlerParams().
Referenced by __construct().
Swift_Transport_EsmtpTransport::setHost | ( | $host | ) |
Set the host to connect to.
string | $host |
Definition at line 75 of file EsmtpTransport.php.
Referenced by Swift_SmtpTransport\__construct().
Swift_Transport_EsmtpTransport::setPort | ( | $port | ) |
Set the port to connect to.
int | $port |
Definition at line 94 of file EsmtpTransport.php.
Referenced by Swift_SmtpTransport\__construct().
Swift_Transport_EsmtpTransport::setTimeout | ( | $timeout | ) |
Set the connection timeout.
int | $timeout | seconds |
Definition at line 113 of file EsmtpTransport.php.
|
private |
Definition at line 42 of file EsmtpTransport.php.
|
private |
Definition at line 35 of file EsmtpTransport.php.
|
private |
Definition at line 49 of file EsmtpTransport.php.
Referenced by _getBufferParams().