SPF for email notifications


  • Learn about Sender Policy Frameworks and why you would set one up. 

About Sender Policy Framework (SPF)

Sender Policy Framework (SPF) is an email authentication method designed to detect forged sender addresses during the delivery of email.

SPF allows the receiving mail server to check that a mail claiming to come from a specific domain is submitted by an IP address authorised by that domain's administrators. The list of authorised sending hosts and IP addresses for a domain is published in the DNS records for that domain.

Why you would set up an SPF record

You can publish an SPF record for your domain (e.g. yourfantasticstore.com) to reduce the likelihood of spammers and phishers sending emails that pretend to be from your domain.

These kinds of forged emails are more likely to be caught by spam filters, who can check your SPF record. An SPF-protected domain is less likely to be blacklisted by spam filters, and legitimate emails from the domain are more likely to get through.

SPF and sender authentication

If you have an SPF record set for your root domain, you must add include:sendgrid.net before the all mechanism of the record.

v=spf1 include:sendgrid.net ~all

For example, if your record looks like this:

v=spf1 include:_spf.google.com ~all

you'll need to add our lookup at the end of the string, before the all mechanism:

v=spf1 include:_spf.google.com include:sendgrid.net ~all

Want to deliver great shipping experiences?

Start a 30-day free trial or book a demo with one of our shipping experts

Was this article helpful?
1 out of 1 found this helpful



Article is closed for comments.