[ Index ]

MailPress 7.2

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




/mp-includes/composer/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/ -> EsmtpTransport.php (summary)

(no description)

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

Defines 1 class

Swift_Transport_EsmtpTransport:: (26 methods):

Class: Swift_Transport_EsmtpTransport  - X-Ref

Sends Messages over SMTP with ESMTP support.

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

param: Swift_Transport_EsmtpHandler[] $extensionHandlers
param: string                         $localDomain

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

Literal IPv6 addresses should be wrapped in square brackets.

param: string $host
return: $this

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: $this

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

return: int

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

param: int $timeout seconds
return: $this

getTimeout()   X-Ref
Get the connection timeout.

return: int

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

param: string $encryption
return: $this

getEncryption()   X-Ref
Get the encryption type.

return: string

setStreamOptions($options)   X-Ref
Sets the stream context options.

param: array $options
return: $this

getStreamOptions()   X-Ref
Returns the stream context options.

return: array

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

IPv6 addresses should be wrapped in square brackets.

param: string $source
return: $this

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

return: string

setPipelining($enabled)   X-Ref
Sets whether SMTP pipelining is enabled.

By default, support is auto-detected using the PIPELINING SMTP extension.
Use this function to override that in the unlikely event of compatibility

param: bool $enabled
return: $this

getPipelining()   X-Ref
Returns whether SMTP pipelining is enabled.

return: bool|null a boolean if pipelining is explicitly enabled or disabled,

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

param: Swift_Transport_EsmtpHandler[] $handlers
return: $this

getExtensionHandlers()   X-Ref
Get ESMTP extension handlers.

return: Swift_Transport_EsmtpHandler[]

executeCommand($command, $codes = [], &$failures = null, $pipeline = false, $address = null)   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
param: bool     $pipeline Do not wait for response
param: string   $address  The address, if command is RCPT TO.
return: string|null The server response, or null if pipelining is enabled

__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

Generated: Tue May 19 15:55:14 2020 Cross-referenced by PHPXref 0.7.1