SPF for email notifications

Overview

  • 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?
2 out of 3 found this helpful

We're sorry you didn't find this helpful - please help improve this article!

We're always looking for ways to get it right.Please help others by submitting your feedback here