Stores Messages in memory.

package Swift
author Fabien Potencier

 Methods

Sends messages using the given transport instance.

flushQueue(\Swift_Transport $transport, string[] $failedRecipients) : int

Parameters

$transport

\Swift_Transport

A transport instance

$failedRecipients

string[]

&$failedRecipients An array of failures by-reference

Returns

intThe number of sent emails

Tests if this Transport mechanism has started.

isStarted() : boolean

Returns

boolean

Stores a message in the queue.

queueMessage(\Swift_Mime_Message $message) : boolean

Parameters

$message

\Swift_Mime_Message

The message to store

Returns

booleanWhether the operation has succeeded

Starts this Transport mechanism.

start() 

Stops this Transport mechanism.

stop() 

 Properties

 

$messages