phpazurednssparkpost

How to verify sending domain for SparkPost in Microsoft Azure?


I am using SparkPost as my sending mail server. When the site was in my development server I have verified the sending domain by making a entry to the DNS from the WHM panel.

Now I have deployed the website in Microsoft Azure. There I have created a DNS Zone then followed same step for domain verification but it seems not be working fine here.

  1. Can I send email by using SparkPost without verifying sending domain?
  2. If yes then how to verify it in Microsoft Azure?
  3. How to setup DKIM / Domain key in azure or publish SPF or DKIM DNS records for it?

Solution

  • It's hard to figure out what is wrong there for not recognizing what you've tried. However, you can verify sending domain by following the steps below.

    1. Create your Sending Domain to work with SparkPost.

    enter image description here

    2. Once Sending Domain has been created, click on Settings link. The Hostname and Value will be both displayed in the SparkPost UI.

    enter image description here

    3. Add a TXT record with Domain Providers (here I'm using GoDaddy).

    enter image description here

    4. Click Test link to verify the Sending Domain.

    enter image description here

    Once your Sending Domain has been verified, you can set email with this domain.

    enter image description here

    EDIT: How to setup DKIM/ Domain key in Azure?

    1. Create a DNS zone in the Azure portal.

    2. Delegate your domain to Azure DNS (change the name server records for the domain).

    enter image description here

    enter image description here

    3. Navigate to your DNS zone in the Azure Portal, and set up DKIM by adding a TXT record.

    enter image description here

    4. Now you can verify Sending Domain in SparkPost UI.