W3cubDocs

/Laravel 5.1

MailgunTransport

class MailgunTransport extends Transport (View source)

Properties

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

Methods

isStarted()

[email protected]}

from Transport
start()

[email protected]}

from Transport
stop()

[email protected]}

from Transport
void registerPlugin( Swift_Events_EventListener $plugin)

Register a plug-in with the transport.

from Transport
void __construct( ClientInterface $client, string $key, string $domain)

Create a new Mailgun transport instance.

send( Swift_Mime_Message $message, $failedRecipients = null)

[email protected]}

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 getDomain()

Get the domain being used by the transport.

void setDomain( string $domain)

Set the domain being used by the transport.

Details

isStarted()

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, string $domain)

Create a new Mailgun transport instance.

Parameters

ClientInterface $client
string $key
string $domain

Return Value

void

send( Swift_Mime_Message $message, $failedRecipients = null)

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 getDomain()

Get the domain being used by the transport.

Return Value

string

void setDomain( string $domain)

Set the domain being used by the transport.

Parameters

string $domain

Return Value

void

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