XOOPS RMCommon Utilities
2.1.8.91RC
|
Public Member Functions | |
isStarted () | |
registerPlugin (Swift_Events_EventListener $plugin) | |
send (Swift_Mime_Message $message, &$failedRecipients=null) | |
start () | |
stop () | |
Definition at line 21 of file Transport.php.
Swift_Transport::isStarted | ( | ) |
Test if this Transport mechanism has started.
Implemented in Swift_Transport_AbstractSmtpTransport, Swift_Transport_LoadBalancedTransport, and Swift_Transport_MailTransport.
Swift_Transport::registerPlugin | ( | Swift_Events_EventListener | $plugin | ) |
Register a plugin in the Transport.
Swift_Events_EventListener | $plugin |
Implemented in Swift_Transport_AbstractSmtpTransport, Swift_Transport_MailTransport, and Swift_Transport_LoadBalancedTransport.
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.
Swift_Mime_Message | $message | |
string[] | &$failedRecipients to collect failures by-reference |
Implemented in Swift_Transport_AbstractSmtpTransport, Swift_Transport_MailTransport, Swift_Transport_LoadBalancedTransport, Swift_Transport_SendmailTransport, and Swift_Transport_FailoverTransport.
Swift_Transport::start | ( | ) |
Start this Transport mechanism.
Implemented in Swift_Transport_AbstractSmtpTransport, Swift_Transport_LoadBalancedTransport, Swift_Transport_MailTransport, and Swift_Transport_SendmailTransport.
Swift_Transport::stop | ( | ) |
Stop this Transport mechanism.
Implemented in Swift_Transport_AbstractSmtpTransport, Swift_Transport_LoadBalancedTransport, and Swift_Transport_MailTransport.