[ Index ]

MailPress 544

[ Index ]     [ Classes ]     [ Functions ]     [ Variables ]     [ Constants ]     [ Statistics ]    

title

Body

[close]

/mp-includes/Swiftmailer/classes/Swift/Transport/ -> EsmtpTransport.php (summary)

(no description)

File Size: 386 lines (10 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Swift_Transport_EsmtpTransport:: (23 methods):
  __construct()
  setHost()
  getHost()
  setPort()
  getPort()
  setTimeout()
  getTimeout()
  setEncryption()
  getEncryption()
  setSourceIp()
  getSourceIp()
  setExtensionHandlers()
  getExtensionHandlers()
  executeCommand()
  __call()
  _getBufferParams()
  _doHeloCommand()
  _doMailFromCommand()
  _doRcptToCommand()
  _getCapabilities()
  _setHandlerParams()
  _getActiveHandlers()
  _sortHandlers()


Class: Swift_Transport_EsmtpTransport  - X-Ref

Sends Messages over SMTP with ESMTP support.

__construct(Swift_Transport_IoBuffer $buf, array $extensionHandlers, Swift_Events_EventDispatcher $dispatcher)   X-Ref
Creates a new EsmtpTransport using the given I/O buffer.

param: Swift_Transport_IoBuffer       $buf
param: Swift_Transport_EsmtpHandler[] $extensionHandlers
param: Swift_Events_EventDispatcher   $dispatcher

setHost($host)   X-Ref
Set the host to connect to.

param: string $host
return: Swift_Transport_EsmtpTransport

getHost()   X-Ref
Get the host to connect to.

return: string

setPort($port)   X-Ref
Set the port to connect to.

param: int $port
return: Swift_Transport_EsmtpTransport

getPort()   X-Ref
Get the port to connect to.

return: int

setTimeout($timeout)   X-Ref
Set the connection timeout.

param: int $timeout seconds
return: Swift_Transport_EsmtpTransport

getTimeout()   X-Ref
Get the connection timeout.

return: int

setEncryption($encryption)   X-Ref
Set the encryption type (tls or ssl).

param: string $encryption
return: Swift_Transport_EsmtpTransport

getEncryption()   X-Ref
Get the encryption type.

return: string

setSourceIp($source)   X-Ref
Sets the source IP.

param: string $source
return: Swift_Transport_EsmtpTransport

getSourceIp()   X-Ref
Returns the IP used to connect to the destination.

return: string

setExtensionHandlers(array $handlers)   X-Ref
Set ESMTP extension handlers.

param: Swift_Transport_EsmtpHandler[] $handlers
return: Swift_Transport_EsmtpTransport

getExtensionHandlers()   X-Ref
Get ESMTP extension handlers.

return: Swift_Transport_EsmtpHandler[]

executeCommand($command, $codes = array()   X-Ref
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.

param: string   $command
param: int[]    $codes
param: string[] $failures An array of failures by-reference
return: string

__call($method, $args)   X-Ref
No description

_getBufferParams()   X-Ref
No description

_doHeloCommand()   X-Ref
No description

_doMailFromCommand($address)   X-Ref
No description

_doRcptToCommand($address)   X-Ref
No description

_getCapabilities($ehloResponse)   X-Ref
No description

_setHandlerParams()   X-Ref
No description

_getActiveHandlers()   X-Ref
No description

_sortHandlers($a, $b)   X-Ref
No description



Generated: Thu Apr 28 18:38:52 2016 Cross-referenced by PHPXref 0.7.1