Class Swift_Transport_AbstractSmtpTransport
Sends Messages over SMTP.
- Swift_Transport_AbstractSmtpTransport implements Swift_Transport
Direct known subclasses
Swift_Transport_EsmtpTransport
,
Swift_Transport_SendmailTransport
Indirect known subclasses
Package: Swift\Transport
Author: Chris Corbyn
Located at vendors/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php
Methods summary
abstract protected
|
|
public
|
#
__construct(
Creates a new EsmtpTransport using the given I/O buffer. |
public
|
#
setLocalDomain( string $domain )
Set the name of the local domain which Swift will identify itself as. This should be a fully-qualified domain name and should be truly the domain you're using. If your server doesn't have a domain name, use the IP in square brackets (i.e. [127.0.0.1]). |
public
string
|
|
public
|
|
public
string
|
|
public
|
|
public
boolean
|
|
public
integer
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
string
|
#
executeCommand( string $command, int[] $codes = array(), string[] & $failures = null )
Run a command against the buffer, expecting the given response codes. |
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
#
_getReversePath(
Determine the best-use reverse path for this message |
protected
|
#
_throwException(
Throw a TransportException, first sending it to any listeners |
protected
|
#
_assertResponseCode( mixed $response, mixed $wanted )
Throws an Exception if a response code is incorrect |
protected
|
|
private
|
#
_doMailTransaction( mixed $message, mixed $reversePath, array $recipients, array & $failedRecipients )
Send an email to the given recipients from the given reverse path |
private
|
#
_sendTo(
Send a message to the given To: recipients |
private
|
#
_sendCc(
Send a message to the given Cc: recipients |
private
|
#
_sendBcc(
Send a message to all Bcc: recipients |
private
|
|
private
|
|
public
|
Magic methods summary
Properties summary
protected
mixed
|
$_buffer |
#
Input-Output buffer for sending/receiving SMTP commands and responses |
protected
boolean
|
$_started |
#
Connection status |
protected
string
|
$_domain |
#
The domain name to use in HELO command |
protected
mixed
|
$_eventDispatcher |
#
The event dispatching layer |
protected
mixed
|
$_sourceIp |
#
Source Ip |