The Sender Policy Framework (SPF) is an email authentication system that detects forged sender addresses while the email is being delivered. SPF, on the other hand, is confined to detecting a forged sender claim in the email’s envelope, which is used when it bounces.
Follow these simple steps to set up SPF on your SendGrid account :
- If you don’t have a published SPF record for your domain, use the value shown below to create a new one :
v=spf1 include:sendgrid.net ~all
- In case you have a published SPF record for your domain, you’ll need to tweak it with the TXT value shown below :
After tweaking the value, your record should look something like this :
v=spf1 include:emailauth.io.com include:sendgrid.net ~all
- Now, log in to your DNS console and publish the new SPF record to complete setting up SPF for SendGrid.
Check your newly published SPF record using our SPF validator tool.