Description
Swift_Transport_AbstractSmtpTransport
|
--Swift_Transport_EsmtpTransport
Located in File: /vendors/swiftMailer/classes/Swift/Transport/EsmtpTransport.php
Sends Messages over SMTP with ESMTP support.
Classes extended from Swift_Transport_EsmtpTransport:
- Swift_SmtpTransport
- Sends Messages over SMTP with ESMTP support.
Method Detail
Summary:
string
executeCommand
(
string $command, [
int[] $codes =
array()], [
string[] &$failures =
null])
Method executeCommand (line 182)
string executeCommand(
string
$command, [int[]
$codes = array()], [string[]
&$failures = null])
Overrides : Swift_Transport_AbstractSmtpTransport::executeCommand() Run a command against the buffer, expecting the given response codes.
Implementation of:
- Swift_Transport_SmtpAgent::executeCommand()
- Run a command against the buffer, expecting the given response codes.
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:
Info
Method getEncryption (line 142)
string getEncryption(
)
Get the encryption type.
Info
Method getExtensionHandlers (line 168)
Swift_Transport_EsmtpHandler[] getExtensionHandlers(
)
Get ESMTP extension handlers.
Info
Method getHost (line 85)
string getHost(
)
Get the host to connect to.
Info
Method getPort (line 104)
int getPort(
)
Get the port to connect to.
Info
Method getTimeout (line 123)
int getTimeout(
)
Get the connection timeout.
Info
Method setEncryption (line 132)
void setEncryption(
$enc, string
$encryption)
Set the encryption type (tls or ssl)
Parameters
- string $encryption:
- $enc:
Info
Method setExtensionHandlers (line 151)
void setExtensionHandlers(
$handlers)
Set ESMTP extension handlers.
Parameters
- Swift_Transport_EsmtpHandler[] $handlers:
Info
Method setHost (line 75)
void setHost(
string
$host)
Set the host to connect to.
Parameters
Info
Method setPort (line 94)
void setPort(
int
$port)
Set the port to connect to.
Parameters
Info
Method setTimeout (line 113)
void setTimeout(
int
$timeout)
Set the connection timeout.
Parameters
Info
Method __call (line 203)
void __call(
$method,
$args)
Mixin handling method for ESMTP handlers
Parameters
Info