Configure SparkPost as External SMTP Email Provider

Configure SparkPost as External SMTP Email Provider

Auth0 allows you to configure your own SMTP email provider so you can more completely manage, monitor, and troubleshoot your email communications. Auth0's built-in email infrastructure should be used for testing emails only.

Prerequisites

Configure SparkPost

  1. Log in to your SparkPost account.

  2. Navigate to SparkPost Sending Domains, and add your custom domain. SparkPost allows sending emails from only verified domains.

  3. Navigate to SparkPost Account API Keys, and click New API key. Save this key value and ensure it has Transmissions: Read/Write access. Copy this key value.

  4. Navigate to Auth0 Dashboard > Branding > Email Provider.

  5. Activate the Use my own email provider toggle.

  6. Click the SparkPost logo.

  7. 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.

    Emails Configure SparkPost SMTP Email Provider Values Screen
  8. Click Save.

Test email

You can now send a test email using the Send Test Email button. If you have configured everything correctly, you will receive a confirmation email. If you do not receive an email after a few minutes, please check your Auth0 logs for any failures.

If you haven't registered a custom domain with SparkPost, you can send a maximum of five test emails from the sparkpostbox.com domain. For more details, see SparkPost's Transmissions: The Sandox Domain.

The SparkPost Message Events page will now display delivery insights for all emails that have been sent to your users.