Join the wishlist

Mailgun

Send email from your app through your own Mailgun account.

Connecting

Your API key from Settings, then API Keys, in the Mailgun dashboard. Save the one value api:YOUR_KEY, the username is always the word api and your key rides as the password.

Send an email

  • domain: Your Mailgun sending domain, like mg.yourdomain.example. Set it once in settings. Required.
  • from: A sender on the domain you verified with Mailgun. Required.
  • to: Required.
  • subject: Required.
  • text: The plain-text message. Give text, html, or a template.
  • html: The HTML message, if you send one.
  • cc: Required.
  • bcc: Required.
  • template: The name of a template stored in your Mailgun account.

Answers with: id.

Settings

  • Sending domain: The Mailgun domain your app sends through, like mg.yourdomain.example. Not a secret.
  • Send as: The address your app sends from by default.
  • Message: The message with field slots, or bind an input on screen.

What it stores

Sent emails (to, subject, id)

Where it speaks

This connection reaches https://api.mailgun.net and nowhere else. The hosts are fixed by declaration.

Mailgun · Docs · Tentis