Sends Messages via an abstract Transport subsystem.

package Swift
subpackage Transport
author Chris Corbyn

 Methods

Test if this Transport mechanism has started.

isStarted() : boolean

Returns

boolean

Register a plugin in the Transport.

registerPlugin(\Swift_Events_EventListener $plugin) 

Parameters

Send the given Message.

send(\Swift_Mime_Message $message, string[] $failedRecipients) : int

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

Parameters

$failedRecipients

string[]

&$failedRecipients to collect failures by-reference

Returns

int

Start this Transport mechanism.

start() 

Stop this Transport mechanism.

stop()