SparkPostTransport (Mail\Transport)

SparkPostTransport

class SparkPostTransport extends Transport (View source)

Properties

array $plugins The plug-ins registered with the transport. from Transport

Methods

isStarted()

{@inheritdoc}

from Transport
start()

{@inheritdoc}

from Transport
stop()

{@inheritdoc}

from Transport
void registerPlugin(Swift_Events_EventListener $plugin)

Register a plug-in with the transport.

from Transport
void __construct(ClientInterface $client, string $key, array $options = array(), array $metadata = array())

Create a new SparkPost transport instance.

send(Swift_Mime_Message $message, $failedRecipients = null)

{@inheritdoc}

string getKey()

Get the API key being used by the transport.

string setKey(string $key)

Set the API key being used by the transport.

string getOptions()

Get the transmission options being used by the transport.

array setOptions(array $options)

Set the transmission options being used by the transport.

string getMetadata()

Get the transmission metadata being used by the transport.

array setMetadata(array $metadata)

Set the transmission metadata being used by the transport.

Details

isStarted()

{@inheritdoc}

start()

{@inheritdoc}

stop()

{@inheritdoc}

void registerPlugin(Swift_Events_EventListener $plugin)

Register a plug-in with the transport.

Parameters

Swift_Events_EventListener $plugin

Return Value

void

void __construct(ClientInterface $client, string $key, array $options = array(), array $metadata = array())

Create a new SparkPost transport instance.

Parameters

ClientInterface $client
string $key
array $options
array $metadata

Return Value

void

send(Swift_Mime_Message $message, $failedRecipients = null)

{@inheritdoc}

Parameters

Swift_Mime_Message $message
$failedRecipients

string getKey()

Get the API key being used by the transport.

Return Value

string

string setKey(string $key)

Set the API key being used by the transport.

Parameters

string $key

Return Value

string

string getOptions()

Get the transmission options being used by the transport.

Return Value

string

array setOptions(array $options)

Set the transmission options being used by the transport.

Parameters

array $options

Return Value

array

string getMetadata()

Get the transmission metadata being used by the transport.

Return Value

string

array setMetadata(array $metadata)

Set the transmission metadata being used by the transport.

Parameters

array $metadata

Return Value

array

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.3/Illuminate/Mail/Transport/SparkPostTransport.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部