MailgunTransport
class MailgunTransport implements Swift_Transport (View source)
Properties
protected string | $key | The Mailgun API key. | |
protected string | $domain | The Mailgun domain. | |
protected string | $url | THe Mailgun API end-point. |
Methods
void | __construct(string $key, string $domain) Create a new Mailgun transport instance. | |
isStarted() {@inheritdoc} | ||
start() {@inheritdoc} | ||
stop() {@inheritdoc} | ||
send(Swift_Mime_Message $message, $failedRecipients = null) {@inheritdoc} | ||
registerPlugin(Swift_Events_EventListener $plugin) {@inheritdoc} | ||
array | getTo(Swift_Mime_Message $message) Get the "to" payload field for the API request. | |
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. | |
string | getDomain() Get the domain being used by the transport. | |
void | setDomain(string $domain) Set the domain being used by the transport. |
Details
void __construct(string $key, string $domain)
Create a new Mailgun transport instance.
isStarted()
{@inheritdoc}
start()
{@inheritdoc}
stop()
{@inheritdoc}
send(Swift_Mime_Message $message, $failedRecipients = null)
{@inheritdoc}
registerPlugin(Swift_Events_EventListener $plugin)
{@inheritdoc}
protected array getTo(Swift_Mime_Message $message)
Get the "to" payload field for the API request.
protected 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.
string getDomain()
Get the domain being used by the transport.
void setDomain(string $domain)
Set the domain being used by the transport.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/4.2/Illuminate/Mail/Transport/MailgunTransport.html