When you set up a website such as e-commerce site. You will need to send out E-Mail within your website. The simplest way to send out E-Mail is by using their build in script, usually called the PHP Mail(). However, when using the service, your E-Mail always seems to go straight to your customers’ E-Mail spam section.
Here is one of the fixes that you will need:
You need to set your Sender Policy Framework (SPF) correctly. You can read more about SPF Record at the wikipedia site. You can set the SPF where you set up your DNS configurations.
I have my domains with CloudFlare. Setting up on their DNS control panel was simple to do, yours may not be as easy.
Here is the config:
VALUE: v=spf1 a mx include:hotmail.com ip4:18.104.22.168/24 include:73.hostingnow.net ~all
TTL: 1 hour
You can see the Wikipedia page for more SPF command lines.
As you can see from the above config, I am telling the E-Mail client that the E-Mail going out of my web server is valid and owned by my domain name. Therefore, making the E-Mail legit.
If this fix does not work for you, you may have other problems.