XOOPS RMCommon Utilities  2.1.8.91RC
 All Classes Namespaces Files Functions Variables
Swift_SmtpTransport Class Reference
Inheritance diagram for Swift_SmtpTransport:
Inheritance graph

Public Member Functions

 __construct ($host= 'localhost', $port=25, $security=null)
 
- Public Member Functions inherited from Swift_Transport_EsmtpTransport
 __construct (Swift_Transport_IoBuffer $buf, array $extensionHandlers, Swift_Events_EventDispatcher $dispatcher)
 
 __call ($method, $args)
 
 executeCommand ($command, $codes=array(), &$failures=null)
 
 getEncryption ()
 
 getExtensionHandlers ()
 
 getHost ()
 
 getPort ()
 
 getTimeout ()
 
 setEncryption ($enc)
 
 setExtensionHandlers (array $handlers)
 
 setHost ($host)
 
 setPort ($port)
 
 setTimeout ($timeout)
 
- Public Member Functions inherited from Swift_Transport_AbstractSmtpTransport
 __construct (Swift_Transport_IoBuffer $buf, Swift_Events_EventDispatcher $dispatcher)
 
 __destruct ()
 
 executeCommand ($command, $codes=array(), &$failures=null)
 
 getBuffer ()
 
 getLocalDomain ()
 
 isStarted ()
 
 registerPlugin (Swift_Events_EventListener $plugin)
 
 reset ()
 
 send (Swift_Mime_Message $message, &$failedRecipients=null)
 
 setLocalDomain ($domain)
 
 start ()
 
 stop ()
 
- Public Member Functions inherited from Swift_Transport_SmtpAgent
 getBuffer ()
 

Static Public Member Functions

static newInstance ($host= 'localhost', $port=25, $security=null)
 

Additional Inherited Members

- Protected Member Functions inherited from Swift_Transport_EsmtpTransport
 _doHeloCommand ()
 
 _doMailFromCommand ($address)
 
 _doRcptToCommand ($address)
 
 _getBufferParams ()
 
- Protected Attributes inherited from Swift_Transport_AbstractSmtpTransport
 $_buffer
 
 $_domain = '[127.0.0.1]'
 
 $_eventDispatcher
 
 $_started = false
 

Detailed Description

Definition at line 20 of file SmtpTransport.php.

Constructor & Destructor Documentation

Swift_SmtpTransport::__construct (   $host = 'localhost',
  $port = 25,
  $security = null 
)

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

Parameters
string$host
int$port
int$security

Definition at line 29 of file SmtpTransport.php.

References $security, Swift_DependencyContainer\getInstance(), Swift_Transport_EsmtpTransport\setEncryption(), Swift_Transport_EsmtpTransport\setHost(), and Swift_Transport_EsmtpTransport\setPort().

Here is the call graph for this function:

Member Function Documentation

static Swift_SmtpTransport::newInstance (   $host = 'localhost',
  $port = 25,
  $security = null 
)
static

Create a new SmtpTransport instance.

Parameters
string$host
int$port
int$security
Returns
Swift_SmtpTransport

Definition at line 50 of file SmtpTransport.php.

References $security.

Referenced by RMMailer\__construct().

Here is the caller graph for this function:


The documentation for this class was generated from the following file: