Prerequisites
- You must have a Mailgun account.
- You must configure your provider to allow inbound connections from specific Auth0 IP addresses.
Configure Mailgun
- Log in to your Mailgun.
- Navigate to Mailgun Sending > Domains, and add your custom domain. Mailgun allows sending emails from only verified domains.
- Navigate to Mailgun Settings > API Keys. Your API key was created when you signed up for your account; copy it from Private API Key.
- Navigate to Auth0 Dashboard > Branding > Email Provider.
- Activate the Use my own email provider toggle.
- Click the Mailgun logo.
- Provide a From email address, enter the Domain you previously added to Mailgun, enter the Mailgun API Key you previously copied, select your Region.
- Click Save.