Regorro Posted November 19, 2018 Share Posted November 19, 2018 (edited) Hi, So in prestashop 1.7.4.2 under the SMTP configuration the store is unable to send test email to any address that is not from a domain of the store. If I try to send the 'test email' to an email addres with a domain that store is set up on (or the same that is in the SMTP configuration) then it goes - there is an success message and in my inbox there is a new e-mail. But any other domain, like gmail, gmx etc. is not working. Prestashop claims "Check your configuration". I know some servers are configured to not send emails to other domains. But mine is not. I know this, as I have prestashop 1.7.3.2 installed on the same server, with the same settings (the same SMTP settings) and it can send all the emails. So the problem is that the store can not: send password reset email, order status change email, test email... I'v seen some people saying it is an translation error. But how can it be translation error if the testing e-mail is sent in english to my store domain, and can not be sent to my gmail? This is clearly prestashop bug, but how can I fix it? edit: not sure if this matters but the store that doesn't work is on subdomain, the store that it works on is on domain. Server provider claims it's no difference for the server. So it has to be prestashop bug. Edited November 19, 2018 by grzegorz123456 (see edit history) Link to comment Share on other sites More sharing options...
selectshop.at Posted December 9, 2018 Share Posted December 9, 2018 You already solved the problem ? Check also smtpd server logs. Perhaps firewall is now blocking your addresses due to blacklisted somewhere (zen.spamhouse or something else), or another problem (recent setting/udate of firewall) is blocking the mails. Link to comment Share on other sites More sharing options...
albattashy Posted September 13 Share Posted September 13 Hi, I am encounter the same problem, emails to normal mail providers (gmail, outlook etc) are not delivered. And I have tried to make an SMTP test files, Emails were delivered, so I am sure the problem is with prestashop it self. the version is Prestashop 9.0.0 Link to comment Share on other sites More sharing options...
cocos.codes Posted September 14 Share Posted September 14 Hi, Update to 1.7.5.x - simply manually upload the corrected version of the files from the PrestaShop repository (commit with the SMTP fix). Mail.php file In Settings >> Store >> Contact, set the main email address to be exactly the same as in the SMTP configuration. Paste the results from the test https://mxtoolbox.com/dmarc.aspx Link to comment Share on other sites More sharing options...
albattashy Posted September 14 Share Posted September 14 I didn't understand your solution, do you suggest that I down grade my shop from Prestashop 9.0.0 to 1.7.5.x? there is no solution for 9.0.0? Link to comment Share on other sites More sharing options...
ComGrafPL Posted September 14 Share Posted September 14 2 hours ago, albattashy said: I didn't understand your solution, do you suggest that I down grade my shop from Prestashop 9.0.0 to 1.7.5.x? there is no solution for 9.0.0? Email logs saying anything? Either server logs? Change store mail email address for non domain one. Update SMTP settings and test. Link to comment Share on other sites More sharing options...
albattashy Posted September 14 Share Posted September 14 The Prestashop doesnt show any error, everything is seems to work normal, but the emails are not delivered. Link to comment Share on other sites More sharing options...
El Patron Posted September 14 Share Posted September 14 6 hours ago, albattashy said: I didn't understand your solution, do you suggest that I down grade my shop from Prestashop 9.0.0 to 1.7.5.x? there is no solution for 9.0.0? How it works: SPF = lists which servers are allowed to send mail for your domain DKIM = digitally signs your messages so they can’t be tampered with DMARC = tells other servers what to do if SPF/DKIM don’t check out, and sends you reports Step-by-step setup: SPF record → add a TXT record in DNS, for example: v=spf1 a mx include:mail.yourprovider.com ~all DKIM record → from your email provider, get the DKIM selector & public key. Add it as TXT at selector._domainkey.example.com DMARC record → create TXT at _dmarc.example.com, for example: v=DMARC1; p=none; rua=mailto:[email protected]; ruf=mailto:[email protected]; pct=100; adkim=s; aspf=s Start with p=none (monitor only). Later you can change to p=quarantine or p=reject once everything is passing. Good “how-to” guides: Woodpecker overview of SPF/DKIM: https://woodpecker.co/blog/spf-dkim/ Postmark DKIM setup guide: https://postmarkapp.com/guides/dkim/how-to-set-up-dkim Google Workspace DMARC setup: https://support.google.com/a/answer/2466580?hl=en DMARCLY full guide: https://dmarcly.com/blog/how-to-implement-dmarc-dkim-spf-to-stop-email-spoofing-phishing-the-definitive-guide One last note: PrestaShop 9.0 is not stable. Never upgrade to a brand-new major release for a live shop unless you are very technical. PrestaShop pushes “community tested” versions mainly so theme/module developers update their code — but that doesn’t mean it’s production-ready. Stick with the latest 8.x until 9.x has gone through real-world hardening. Really it's no wonder the use of PrestaShop has declined so much, unsuspecting users 'think' they need to upgrade, no valid reason just seems right thing to do and destroy their shops. Link to comment Share on other sites More sharing options...
albattashy Posted September 14 Share Posted September 14 There is no problem on the server, the server is working fine, I created a test mailing file, and the email were delivered. The problem is with prestashop 9. I test on Prestashop 8 the emails are delivered fine. Link to comment Share on other sites More sharing options...
Knowband Plugins Posted September 15 Share Posted September 15 Using SMTP OR the default server email? If SMTP, have you checked if there are no restrictions on the "from email ID". "From email ID" is the same on PS8 & 9? 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now