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

Public Member Functions

 isStarted ()
 
 registerPlugin (Swift_Events_EventListener $plugin)
 
 send (Swift_Mime_Message $message, &$failedRecipients=null)
 
 start ()
 
 stop ()
 

Detailed Description

Definition at line 21 of file Transport.php.

Member Function Documentation

Swift_Transport::isStarted ( )

Test if this Transport mechanism has started.

Returns
boolean

Implemented in Swift_Transport_AbstractSmtpTransport, Swift_Transport_LoadBalancedTransport, and Swift_Transport_MailTransport.

Swift_Transport::registerPlugin ( Swift_Events_EventListener  $plugin)
Swift_Transport::send ( Swift_Mime_Message  $message,
$failedRecipients = null 
)

Send the given Message.

Recipient/sender data will be retreived from the Message API. The return value is the number of recipients who were accepted for delivery.

Parameters
Swift_Mime_Message$message
string[]&$failedRecipients to collect failures by-reference
Returns
int

Implemented in Swift_Transport_AbstractSmtpTransport, Swift_Transport_MailTransport, Swift_Transport_LoadBalancedTransport, Swift_Transport_SendmailTransport, and Swift_Transport_FailoverTransport.

Swift_Transport::stop ( )

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