What is SPF?

Sender Policy Framework (SPF) is an email authentication standard developed by AOL that compares the email sender’s actual IP address to a list of IP addresses authorized to send mail from that domain. The IP list is published in the domain’s DNS record.


Why is SPF important?

Adding an SPF record for Sendgrid will allow DonorDock to send your transactional and bulk emails on your behalf. It alerts other email system that you have approved this and the emails are significantly less likely to be flagged as SPAM by other email services.


SPF and sender authentication

If you have an SPF record set for your root domain (i.e. yourdomain.com), you must add include:sendgrid.net before the all mechanism of this record. If you do not have an SPF record for your domain you must create a TXT record with the value:


v=spf1 include:sendgrid.net ~all


Do not create more than one SPF1 record for a given domain. If you need more than one SPF record, you will want to merge the additional SPF records into a single SPF record.

You cannot have more than 10 DNS lookups in your SPF record.


Already have an SPF record for your domain?


No problem. You simply need to add the SendGrid include mechanism lookup into your existing record.

For example, if your record looks like this:


    v=spf1 a mx include:_spf.google.com include:spf.protection.outlook.com ~all


You would just need to add our lookup at the end of the string, before the ~all mechanism, like so:


    v=spf1 a mx include:_spf.google.com include:spf.protection.outlook.com include:sendgrid.net ~all