Method | Description | |
---|---|---|
flushQueue ( Swift_Transport $transport, string[] &$failedRecipients = null ) : integer | Sends messages using the given transport instance. | |
isStarted ( ) : boolean | Tests if this Spool mechanism has started. | |
queueMessage ( Swift_Mime_Message $message ) : boolean | Queues a message. | |
start ( ) | Starts this Spool mechanism. | |
stop ( ) | Stops this Spool mechanism. |
public flushQueue ( Swift_Transport $transport, string[] &$failedRecipients = null ) : integer | ||
$transport | Swift_Transport | A transport instance |
$failedRecipients | string[] | An array of failures by-reference |
return | integer | The number of sent emails |
public queueMessage ( Swift_Mime_Message $message ) : boolean | ||
$message | Swift_Mime_Message | The message to store |
return | boolean | Whether the operation has succeeded |