Keep yourself out of spam folders
To prevent your outbound email from being sent to spam folders you have to add an SPF record in your domain’s DNS record.
SPF (Email Security) – Keep yourself out of spam folders
SPF is a special DNS record you need to create so that other mail servers know we are allowed to send an email on your behalf. You probably already have a record created, for example with Office 365 it looks like:
v=spf1 include:spf.protection.outlook.com ~all
If you want to add our server as permitted to also send on behalf of your domain, you should add our IP like this:
Our IP Range: 220.127.116.11/30
Example new SPF record:
v=spf1 include:spf.protection.outlook.com ip4:18.104.22.168/30 include:algarthosting.com ~all
Adding the above record basically says for your domain, that outlook.com server and our IP are allowed to send on your behalf. You basically just insert “+ip4:22.214.171.124” into the middle of your existing record, or if you don’t have an existing record, make a new DNS record like:
DNS Record Type: TXT
v=spf1 ip4:126.96.36.199/30 include:algarthosting.com ~all
That’s all you have to as far as SPF concerns, please allow up to 24 hours for the DNS to take effect.
We do have 3 different options in the shop settings regarding which mail server to use. Following are the 3 option you could use when the system sends emails to your customers.
- Use our mail server with SPF record added in your domain’s DNS record – Default Option
- Use our mail server without the SPF record added in your domains DNS record.
- This option is preferred if you don’t have a domain name and you are using third-party email provider such as Hotmail, Gmail, yahoo, live etc
- Use my own mail server.
- This option is preferred if you want to use your own email server, please make sure that you have added SMTP Host, SMTP Port (default is 25), SMTP Method, SMTP Username and SMTP Password. The system will verify the mail server settings when you click on the update button and if there are any issues it will display a message. Please make sure that you act accordingly in the case of error otherwise system WILL NOT SEND emails so it is important that you do.
- On daily basis system will verify your mail server settings automatically and in the event of connection failure if will change it change the settings back to option 1 by default so at least emails are going out until you fix any issues with your mail server.
- You can also use the Gmail mail server as an outgoing mail server. Please check this document.
- Please make sure that “Enforce access to less secure apps for all users” is enabled, to enable this please follow this document.
- Please note that google applies “Daily sending limit“. Please read this document for more information. You can increase the limit by using “SMTP Relay Service” however you will need to make some changes in your Gmail settings, please refer to this document.
- You can also use hotmail.outlook/live.com mail server as an outgoing mail server. Please check this document.
- You can also use the yahoo mail server as an outgoing mail server. Please check this document.
- In fact, you can use any third party mail servers, just make sure that you are using the correct settings.