Jump to content

[SOLVED] How to fix emails from PrestaShop that are going to SPAM folders


Recommended Posts

Greetings,

 

I have started using PrestaShop for a little over 2 weeks now and stunned by so many features. However, noticed that the forum is not too active. Sad.

 

I believe in sharing knowledge, so as I land in issues / resolutions, would like to share with all.

 

One of the issues I struggled to solve today was that all my emails generated from PrestaShop was landing in recipient's SPAM folder.

 

Tested following scenarios:

1. Test Email landed in SPAM folder. Email was being sent using PHP default Mail() function.

2. Switched to SMTP, same case. 

 

How to solve it:

- Well in Gmail, you have an option to view Original Message. So do that and it had an interesting entry:

SPF: SOFTFAIL with IP <my server IP>

 

SPF stands for Sender Policy Framework

I followed this link: https://support.google.com/a/answer/178723?hl=en&ref_topic=2759192

 

and asked my webhosting provider to add the recommended SPF record in the Domain configuration. They showed me how to do it myself.

 

Following entry resolved the issue:

v=spf1 mx include:iprange.spf.<hosting-provider> ~all

 

Hope this helps!

 

Best regards,

Sumeet

  • Like 1
Link to comment
Share on other sites

  • 6 months later...

Hello,

 

I have the same problem as yours. I can finely  email to customers from my email client on my computer (PASS spf). But all the emails from website goes to spam mailbox (SOFTFAIL spf). 

 

Can you explain more in detail what spf records I need to put in? currently I have v=spf1 include:zoho.com ~all

 

Thank you.

Boon

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...