Documentation

Swift_Transport_NullTransport
in package
implements Swift_Transport

Pretends messages have been sent, but just ignores them.

Tags
author

Fabien Potencier

Interfaces, Classes and Traits

Swift_Transport
Sends Messages via an abstract Transport subsystem.

Table of Contents

$eventDispatcher  : mixed
The event dispatcher from the plugin API
__construct()  : mixed
Constructor.
isStarted()  : bool
Tests if this Transport mechanism has started.
ping()  : bool
Check if this Transport mechanism is alive.
registerPlugin()  : mixed
Register a plugin.
send()  : int
Sends the given message.
start()  : mixed
Starts this Transport mechanism.
stop()  : mixed
Stops this Transport mechanism.

Properties

$eventDispatcher

The event dispatcher from the plugin API

private mixed $eventDispatcher

Methods

isStarted()

Tests if this Transport mechanism has started.

public isStarted() : bool
Return values
bool

ping()

Check if this Transport mechanism is alive.

public ping() : bool
Return values
bool

TRUE if the transport is alive

send()

Sends the given message.

public send(Swift_Mime_SimpleMessage $message[, array<string|int, string> &$failedRecipients = null ]) : int
Parameters
$message : Swift_Mime_SimpleMessage
$failedRecipients : array<string|int, string> = null

An array of failures by-reference

Return values
int

The number of sent emails

start()

Starts this Transport mechanism.

public start() : mixed
Return values
mixed

stop()

Stops this Transport mechanism.

public stop() : mixed
Return values
mixed

Search results