Documentation
supastarter for Nuxtsupastarter for NuxtMailing

Mailgun

To use Mailgun with supastarter, first create a Mailgun account and grab your API Key from the Mailgun dashboard.

Add the following environment variables to your .env.local file and your deployment environment:

.env.local
MAILGUN_API_KEY="your-api-key"
MAILGUN_DOMAIN="your-domain"

Then, make sure to activate Mailgun as the mail provider:

packages/mail/provider/index.ts
export * from "./mailgun";

To customize the provider, edit the packages/mail/provider/mailgun/index.ts.

For further instructions, follow the general mail instructions.

On this page

No Headings