class MandrillTransport implements Swift_Transport (View source)

Properties

protected string $key

The Mandrill API key.

Methods

void
__construct(string $key)

Create a new Mandrill transport instance.

isStarted()

{@inheritdoc}

start()

{@inheritdoc}

stop()

{@inheritdoc}

send(Swift_Mime_Message $message, $failedRecipients = null)

{@inheritdoc}

registerPlugin(Swift_Events_EventListener $plugin)

{@inheritdoc}

Client
getHttpClient()

Get a new HTTP client instance.

string
getKey()

Get the API key being used by the transport.

void
setKey(string $key)

Set the API key being used by the transport.

Details

void __construct(string $key)

Create a new Mandrill transport instance.

Parameters

string $key

Return Value

void

isStarted()

{@inheritdoc}

start()

{@inheritdoc}

stop()

{@inheritdoc}

send(Swift_Mime_Message $message, $failedRecipients = null)

{@inheritdoc}

Parameters

Swift_Mime_Message $message
$failedRecipients

registerPlugin(Swift_Events_EventListener $plugin)

{@inheritdoc}

Parameters

Swift_Events_EventListener $plugin

protected Client getHttpClient()

Get a new HTTP client instance.

Return Value

Client

string getKey()

Get the API key being used by the transport.

Return Value

string

void setKey(string $key)

Set the API key being used by the transport.

Parameters

string $key

Return Value

void