Class Swift_Transport_AbstractSmtpTransport
Sends Messages over SMTP.
- Swift_Transport_AbstractSmtpTransport implements Swift_Transport
Package: Swift\Transport
Author: Chris Corbyn
Located at classes/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php
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
|
|
protected
|
|
private
|
#
_doMailTransaction( $message, $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
|
protected
|
$_buffer
Input-Output buffer for sending/receiving SMTP commands and responses |
|
protected
boolean
|
$_started
Connection status |
#
false
|
protected
string
|
$_domain
The domain name to use in HELO command |
#
'[127.0.0.1]'
|
protected
|
$_eventDispatcher
The event dispatching layer |
|
protected
|
$_sourceIp
Source Ip |