Using Hostgators outbound mail services: Howto Create a SPF / TXT Record to prevent spam bouncing

Q: My website is on a Hostgator shared host, and I need to set up SPF for my email so my outgoing emails won't get bounced. So, I have to add a TXT record to the DNS for my domain, listing all possible senders of my domain's email. Shouldn't be a big deal, right?

Unfortunately, I found that Hostgator routes outgoing email from shared hosts through multiple email gateway servers, all with domains in the format gatewayXX.websitewelcome.com for some two-digit XX. So, I started sending test emails to myself, adding new servers as I found them. After finding six of them, I had the following SPF record...

A: http://support.hostgator.com/articles/employees/spf-records

Add the following TXT record to your zone record for the domain you are using for outbound mail. 

v=spf1 a mx include:websitewelcome.com ~all

Feedback and Knowledge Base