VIP Customer Service

SPF Record with GoDaddy

An SPF record helps to authenticate your email message when you send using another provider. If you include in your SPF record, it says JangoMail is authorized to send email on your behalf (this is only for your campaigns and transactional messages that you send through us).

If you own a domain, you will have some control panel type of interface where you can edit your DNS records. A “zone editor” is also used to reference the administrative interface.

The steps below use GoDaddy as the hosting provider. If not using GoDaddy, the exact steps to get your domain’s DNS editor or control panel will no doubt differ, but overall, you have some means of making or editing entries in your DNS settings. Commonly used is a control panel/interface named cPanel. If you're not sure where to start and you see cPanel, that will be your entry point into editing your DNS settings. From there, you would look for something like azone editor.

Note: There are a few providers who use their own custom editor interface, so if you can’t figure out where to go, contact Support and we’ll help you with the edits. There are some providers who don’t allow you to add a TXT record, and if you find that’s the case, you’ll have to contact support at your provider (or put us in touch with your point of contact).

The image below is from a cPanel layout (HostMonster, as an example, uses this).

When everything is finished (including adding an SPF record), the entries should look like this (the basic information shown, not necessarily this exact layout):

For GoDaddy: Log into your account, go to Visit My Account, go to Domains, expand the section as needed to find your domain, and click the Launch button. Or, click Launch and then click the link for your domain of interest.

On the Domain Details page, select the DNS Zone File tab.

You can click the Use Classic DNS Manager link if you want. Otherwise, to add a new record, click on Add Record:

In the popup window, select TXT record.

In the popup window that appears next, enter @ for the Host, and type in (no quotation marks) the text as shown below for the value:

v=spf1 a mx -all

If your control panel shows a button for a “quick add” type of operation for an SPF record and you can’t figure what all of the options are, no problem! Go ahead and create the record, then come back and edit it to make it look like the example above.

Click Save Changes in the red action bar that appears back out on the main page:

You will see a popup message about the setting taking anywhere from an hour to 48 hours, but the results can usually be seen right away in various online testing tools/websites (e.g.,

What if you already have an SPF record? No problem, just edit the existing TXT record.

In the existing record, before the ending “-all” part, edit the record and add:

The final result would be:

v=spf1 (whatever was originally before “-all”) -all

Using what GoDaddy already provided (they included and a ptr entry), here is the modified record:

Click Finish, and click Save Changes as shown earlier.


Additional Information

1. Some providers use an alternate form of SPF, where the entry for this is called a “type SPF” record. The “type SPF” was an alternate approach, but its use is now discontinued. The most common route is to simply use a TXT record for SPF purposes. If you already have a TXT record for SPF, don’t create a second one. Only one is allowed for your domain.

2. Is it ~all or -all (~ and – are the most common implementations)? The recommendation atOpenSPF is to use -all over ~all, ?all, and +all.

You can test your record here. Enter your domain name and click the Get SPF Record button.

You can see what you have (if anything) by going to this site (, select the DNS Records radio button, enter your domain name, then click Go.

You can see an example based on jangodemo here.


Are you sending using our API?

If you are using our API ( to send messages, and you have an SPF record that includes, then in the Options parameter of the method you’re using, add this option:


For example, if you wanted to use open tracking and click tracking, and your SPF includes, then your Options parameter would be:


If you are using the user interface, the UseSystemMAILFROM setting is automatically set to False.


What happens if you don’t use an SPF record?

One example that happens with Gmail, when sending using a Gmail address as your From Address, is that Gmail is highly likely to put your message into the recipient’s spam folder. See thisarticle at Google about what is shown to a recipient.

Another example is when you send using and sending to Gmail. Without an SPF record, the recipient is shown a “via” tag, which immediately tells the recipient you weren't the real sender (an impact on your branding).

Overall, you do not want your recipients to see the “This message may not have been sent by…” warning. Other email inbox providers (Hotmail, Yahoo, etc.) will show different things, but it is the same impression for your recipient: your message is likely to be sent to the junk/spam folder, and there is an indication someone else sent the message (as in, not you).


Setting up delivery is critical to success!