Domain Authentication in SendGrid
Background information on how email works and the importance of Domain Authentication to help send your Messages.
Domain Authentication, also known as Domain Verification, Whitelisting, or White-labeling, helps improve email deliverability from MinistryPlatform. It displays email providers that SendGrid can send emails on your behalf. To give SendGrid your permission, you can point DNS entries for your email domain to SendGrid.
- Recipients no longer see "via sendgrid.net" beside the From address of your messages.
- Receiving email servers are more confident that your messages are legitimate, which means it's less likely they'll block your messages or send them to the spam folder.
For a better understanding on how it works, review the section below.
How Email Works
In our highly automated world, we take email for granted, but it's a bit more complex than it seems at first glance. When you send an email, the email content combines with metadata and transfers to another computer on the Internet using the Simple Mail Transfer Protocol (SMTP). This other computer is known as an SMTP server.
Once MinistryPlatform completes this handoff, it either succeeds or fails. If the message transfers successfully, the status in the Platform sets to Sent. If the message transfer fails, the status sets to Error, and the error message saves to the database for further review. Either way, the MinistryPlatform part of the job is done. You must resend a failed message manually.
However, a Sent status does not mean the message will actually arrive in an inbox. This is just the first step. Next, the SMTP server verifies whether the sending domain is legitimate. Now, Domain Authentication becomes important! SendGrid matches the sender email address to its list of authenticated domains and updates the metadata to the outgoing message accordingly.
At this point, the SMTP server may decide not to send the message to a specific email address. SendGrid refers to this as a Drop, which can help protect your sender reputation. If your MinistryPlatform Integration is set up, SendGrid reports this status back to MinistryPlatform. Then, the SMTP server uses a Mail Transfer Agent (MTA) to route the email to the recipient. The agent resolves the recipient's email domain to an IP address using the Domain Naming System (DNS). The message transfers to the mail server at that IP address.
The destination mail server is known as a Mail Exchange Server (MX). When it transfers the message, the MTA may send the message to other MTAs. Additionally, any firewalls, spam filters, or virus filters may quarantine the message, which can result in a Bounce. Again, Domain Authentication helps here! The added metadata can help determine whether to reject or send the message. If you configured your MinistryPlatform Integration, SendGrid reports this status back to MinistryPlatform.
The final MTA verifies that the MX server accepts messages for the recipient at the recipient domain. The MX server may reject the message. SendGrid also refers to this as a Bounce. Once again, Domain Authentication is your friend! The MX may use the metadata to determine whether it accepts or rejects the message.
Finally, the MX server accepts and receives the message. Now, inbox providers or email clients can use the metadata and content to assess the message's legitimacy. Providers may put the message in a spam folder or add warnings for recipients. The recipient may respond in a way that affects future delivery. They might report your message as spam or unsubscribe. SendGrid tracks these actions and records them in MinistryPlatform if you configured the MinistryPlatform Integration.
With this understanding, you can see why Domain Authentication is important and can help your messages get through without trouble.
Authenticate an Email Domain
You can authenticate your email domains in your SendGrid application.
You'll receive a success message when the domain is verified. You can authenticate as many domains as you need. As long as you have access to the DNS records for the domain, you can authenticate them.
This video demonstrates how to set up Domain Authentication in SendGrid.
You should also add the domains to your Platform so it can properly send from each of your verified domains. For more information, see Avoid Spam Filters.