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
Create a new Mailgun transport instance.
{@inheritdoc}
{@inheritdoc}
{@inheritdoc}
{@inheritdoc}
{@inheritdoc}
Get the "to" payload field for the API request.
Get a new HTTP client instance.
Get the API key being used by the transport.
Set the API key being used by the transport.
Get the domain being used by the transport.
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.