Geeklog
[ class tree: Geeklog ] [ index: Geeklog ] [ all elements ]

Class: Swift_SmtpTransport

Source Location: /system/vendor/swiftmailer/swiftmailer/lib/classes/Swift/SmtpTransport.php

Class Overview

Swift_Transport_AbstractSmtpTransport
   |
   --Swift_Transport_EsmtpTransport
      |
      --Swift_SmtpTransport

Sends Messages over SMTP with ESMTP support.


Author(s):

  • Chris Corbyn

Methods


Inherited Variables

Inherited Methods

Class: Swift_Transport_EsmtpTransport

Swift_Transport_EsmtpTransport::__construct()
Creates a new EsmtpTransport using the given I/O buffer.
Swift_Transport_EsmtpTransport::executeCommand()
Run a command against the buffer, expecting the given response codes.
Swift_Transport_EsmtpTransport::getEncryption()
Get the encryption type.
Swift_Transport_EsmtpTransport::getExtensionHandlers()
Get ESMTP extension handlers.
Swift_Transport_EsmtpTransport::getHost()
Get the host to connect to.
Swift_Transport_EsmtpTransport::getPort()
Get the port to connect to.
Swift_Transport_EsmtpTransport::getSourceIp()
Returns the IP used to connect to the destination.
Swift_Transport_EsmtpTransport::getStreamOptions()
Returns the stream context options.
Swift_Transport_EsmtpTransport::getTimeout()
Get the connection timeout.
Swift_Transport_EsmtpTransport::setEncryption()
Set the encryption type (tls or ssl).
Swift_Transport_EsmtpTransport::setExtensionHandlers()
Set ESMTP extension handlers.
Swift_Transport_EsmtpTransport::setHost()
Set the host to connect to.
Swift_Transport_EsmtpTransport::setPort()
Set the port to connect to.
Swift_Transport_EsmtpTransport::setSourceIp()
Sets the source IP.
Swift_Transport_EsmtpTransport::setStreamOptions()
Sets the stream context options.
Swift_Transport_EsmtpTransport::setTimeout()
Set the connection timeout.
Swift_Transport_EsmtpTransport::_doHeloCommand()
Overridden to perform EHLO instead
Swift_Transport_EsmtpTransport::_doMailFromCommand()
Overridden to add Extension support
Swift_Transport_EsmtpTransport::_doRcptToCommand()
Overridden to add Extension support
Swift_Transport_EsmtpTransport::_getBufferParams()
Get the params to initialize the buffer
Swift_Transport_EsmtpTransport::__call()
Mixin handling method for ESMTP handlers

Class: Swift_Transport_AbstractSmtpTransport

Swift_Transport_AbstractSmtpTransport::__construct()
Creates a new EsmtpTransport using the given I/O buffer.
Swift_Transport_AbstractSmtpTransport::executeCommand()
Run a command against the buffer, expecting the given response codes.
Swift_Transport_AbstractSmtpTransport::getBuffer()
Get the IoBuffer where read/writes are occurring.
Swift_Transport_AbstractSmtpTransport::getLocalDomain()
Get the name of the domain Swift will identify as.
Swift_Transport_AbstractSmtpTransport::getSourceIp()
Returns the IP used to connect to the destination.
Swift_Transport_AbstractSmtpTransport::isStarted()
Test if an SMTP connection has been established.
Swift_Transport_AbstractSmtpTransport::registerPlugin()
Register a plugin.
Swift_Transport_AbstractSmtpTransport::reset()
Reset the current mail transaction.
Swift_Transport_AbstractSmtpTransport::send()
Send the given Message.
Swift_Transport_AbstractSmtpTransport::setLocalDomain()
Set the name of the local domain which Swift will identify itself as.
Swift_Transport_AbstractSmtpTransport::setSourceIp()
Sets the source IP.
Swift_Transport_AbstractSmtpTransport::start()
Start the SMTP connection.
Swift_Transport_AbstractSmtpTransport::stop()
Stop the SMTP connection.
Swift_Transport_AbstractSmtpTransport::_assertResponseCode()
Throws an Exception if a response code is incorrect
Swift_Transport_AbstractSmtpTransport::_doDataCommand()
Send the DATA command
Swift_Transport_AbstractSmtpTransport::_doHeloCommand()
Send the HELO welcome
Swift_Transport_AbstractSmtpTransport::_doMailFromCommand()
Send the MAIL FROM command
Swift_Transport_AbstractSmtpTransport::_doRcptToCommand()
Send the RCPT TO command
Swift_Transport_AbstractSmtpTransport::_getBufferParams()
Return an array of params for the Buffer
Swift_Transport_AbstractSmtpTransport::_getFullResponse()
Get an entire multi-line response using its sequence number
Swift_Transport_AbstractSmtpTransport::_getReversePath()
Determine the best-use reverse path for this message
Swift_Transport_AbstractSmtpTransport::_readGreeting()
Read the opening SMTP greeting
Swift_Transport_AbstractSmtpTransport::_streamMessage()
Stream the contents of the message over the buffer
Swift_Transport_AbstractSmtpTransport::_throwException()
Throw a TransportException, first sending it to any listeners
Swift_Transport_AbstractSmtpTransport::__destruct()
Destructor.

Class Details

[line 23]
Sends Messages over SMTP with ESMTP support.



Tags:

method:  string getUsername(): Get the username to authenticate with.
method:  string getPassword(): Get the password to authenticate with.
method:  string getAuthMode(): Get the auth mode to use to authenticate.
author:  Chris Corbyn


[ Top ]


Class Methods


static method newInstance [line 54]

static Swift_SmtpTransport newInstance( [string $host = 'localhost'], [int $port = 25], [string $security = null])

Create a new SmtpTransport instance.



Tags:

access:  public


Parameters:

string   $host  
int   $port  
string   $security  

[ Top ]

constructor __construct [line 32]

Swift_SmtpTransport __construct( [string $host = 'localhost'], [int $port = 25], [string $security = null])

Create a new SmtpTransport, optionally with $host, $port and $security.



Tags:

access:  public


Overrides Swift_Transport_EsmtpTransport::__construct() (Creates a new EsmtpTransport using the given I/O buffer.)

Parameters:

string   $host  
int   $port  
string   $security  

[ Top ]


Documentation generated on Sun, 02 Oct 2016 07:54:53 +0000 by phpDocumentor 1.4.3