Prerequisites
- You must have a SparkPost account.
- You must configure your provider to allow inbound connections from specific Auth0 IP addresses.
Configure SparkPost
- Log in to your SparkPost account.
- Navigate to SparkPost Sending Domains, and add your custom domain. SparkPost allows sending emails from only verified domains.
- Navigate to SparkPost Account API Keys, and click New API key. Save this key value and ensure it has
Transmissions: Read/Writeaccess. Copy this key value. - Navigate to Auth0 Dashboard > Branding > Email Provider.
- Activate the Use my own email provider toggle.
- Click the SparkPost logo.
- Provide a From email address, enter the SparkPost API Key you previously copied, select your Region. If you are changing to the EU region in an account that was already configured for the US region, you must replace the API Key in Auth0 with a Sparkpost EU API Key.
- Click Save.
Send a test email
Send a test email using the Send Test Email button. If the configuration is correct, you receive a confirmation email. If you do not receive an email after a few minutes, check your Auth0 logs for error codes. If you haven’t registered a with SparkPost, you can send a maximum of five test emails from thesparkpostbox.com domain. For more details, see SparkPost’s Transmissions: The Sandbox Domain.
Once configured, the SparkPost Message Events page displays delivery insights for all emails that have been sent to your users.