Documentation

Swift_Spool

Interface for spools.

Tags
author

Fabien Potencier

Table of Contents

flushQueue()  : int
Sends messages using the given transport instance.
isStarted()  : bool
Tests if this Spool mechanism has started.
queueMessage()  : bool
Queues a message.
start()  : mixed
Starts this Spool mechanism.
stop()  : mixed
Stops this Spool mechanism.

Methods

flushQueue()

Sends messages using the given transport instance.

public flushQueue(Swift_Transport $transport[, array<string|int, string> &$failedRecipients = null ]) : int
Parameters
$transport : Swift_Transport

A transport instance

$failedRecipients : array<string|int, string> = null

An array of failures by-reference

Return values
int

The number of sent emails

isStarted()

Tests if this Spool mechanism has started.

public isStarted() : bool
Return values
bool

start()

Starts this Spool mechanism.

public start() : mixed
Return values
mixed

stop()

Stops this Spool mechanism.

public stop() : mixed
Return values
mixed

Search results