944288_1508425806 Posted September 4 Share Posted September 4 Hi all, Am using Presta shop 1.7.8.11, i have chosen my email configuration as Use /usr/sbin/sendmail (recommended; works in most cases). When i send test email, it run and gives a message that says "A test email has been sent to the email address you provided". But when i check my mail, there is no email. I pretend as customer, placed an order, again no email going to the customer nor to admin. I went to check order, then try to send email form there with copy to customer. No email is going. Do any one face same issue, if so how did you resolve. Please share. Thanks Link to comment Share on other sites More sharing options...
Yelish Posted September 4 Share Posted September 4 Hi, how are you? Yeah, I’ve been there with the email issues in PrestaShop. That whole "sendmail" thing can be a bit hit or miss. I’d suggest switching to SMTP instead—use your Gmail or hosting provider’s SMTP settings. It’s usually more reliable and less of a headache. Also, jump into Advanced Parameters > Email in the back office and check the email logs. Sometimes it gives you a hint, like “can’t connect” or “email rejected” or whatever. And yeah, check your spam folder—might sound obvious, but it happens way more than you'd think. If you’ve got any funky modules installed recently, try disabling them. Sometimes a module messes things up with emails. And if that doesn’t do it, take a look at your server logs. I had some issue once where it was just a permissions problem or something on the server side. Worth a check. Hope that helps, good luck! Cheers. Link to comment Share on other sites More sharing options...
Prestashop Addict Posted September 4 Share Posted September 4 Yes it's better to use your smtp server, and don't forget to verify dns records for it (spf, dmarc...) Link to comment Share on other sites More sharing options...
FME_Modules Posted September 4 Share Posted September 4 2 hours ago, 944288_1508425806 said: Hi all, Am using Presta shop 1.7.8.11, i have chosen my email configuration as Use /usr/sbin/sendmail (recommended; works in most cases). When i send test email, it run and gives a message that says "A test email has been sent to the email address you provided". But when i check my mail, there is no email. I pretend as customer, placed an order, again no email going to the customer nor to admin. I went to check order, then try to send email form there with copy to customer. No email is going. Do any one face same issue, if so how did you resolve. Please share. Thanks Email Configuration: Go to Advanced Parameters > Email and double-check that Use /usr/sbin/sendmail is correctly selected. SMTP Test: Try configuring PrestaShop to use SMTP instead of sendmail temporarily to see if that resolves the issue. Fill in the SMTP server details provided by your hosting provider or email service. 2: Make sure sendmail is properly installed and configured on your server Thanks Link to comment Share on other sites More sharing options...
944288_1508425806 Posted September 26 Author Share Posted September 26 Hi all, i tried using Gmail SMTP following the guide or steps provided, even after following exactly the instructions i get following error when i try test email to make sure if it is working or not. Error: Please check your configuration Connection could not be established with host smtp.gmail.com :stream_socket_client(): unable to connect to tcp://smtp.gmail.com:587 (Connection timed out) its been like a month, i am struggling and trying to find a solution, All your guide and support will be much appreciated. Link to comment Share on other sites More sharing options...
pallavigodse Posted September 26 Share Posted September 26 Try using different SMTP service provider such as Mailgun or SendGrind. Because this has worked for me. Link to comment Share on other sites More sharing options...
Prestashop Addict Posted September 26 Share Posted September 26 Il y a 5 heures, 944288_1508425806 a dit : Hi all, i tried using Gmail SMTP following the guide or steps provided, even after following exactly the instructions i get following error when i try test email to make sure if it is working or not. Error: Please check your configuration Connection could not be established with host smtp.gmail.com :stream_socket_client(): unable to connect to tcp://smtp.gmail.com:587 (Connection timed out) When you click on test mail in settings you have to enter password email account before click test button Link to comment Share on other sites More sharing options...
944288_1508425806 Posted September 27 Author Share Posted September 27 i did exactly what you suggested and same was given in the instruction. Still same connection error. I tried to check if Gmail is reachable or not from my hosting, and it gives a positive response. my earlier Presta shop version 1.6.x work perfect without any issue, since there was upgrade. i felt it is necessary for me to do so as there could be more patch and new features in 1.7.8. But seems nothing is working in latest version. Wished if the developer had tested these basic functionalities even before release for community to download. Anyway, thanks you all for the advice and will try other alternatives. 16 hours ago, Prestashop Addict said: When you click on test mail in settings you have to enter password email account before click test button Link to comment Share on other sites More sharing options...
944288_1508425806 Posted September 27 Author Share Posted September 27 16 hours ago, Prestashop Addict said: When you click on test mail in settings you have to enter password email account before click test button i tried with mail trap, same issue. may be 20 hours ago, pallavigodse said: Try using different SMTP service provider such as Mailgun or SendGrind. Because this has worked for me. I will try what you suggested. Link to comment Share on other sites More sharing options...
944288_1508425806 Posted November 4 Author Share Posted November 4 (edited) Hi all, I am still not able to resolve the mail. I tried smtp and sendmail, no progress. I tried sending emails using sendmail in a standalone script and i could send the mail, thus my hosting has not blocked the sendmail(). Then i tried creating the email template, then under email configuration everything that i know, but PrestaShop’s test email feature still fail to send mail, even if the message says, the test mail has be sent successfully to the email. But there is no email. I then tried override option to bypass mail function under class, still mail didn't get sent. I am using prestashop 1.8.11 i thought maybe it could be prestashop version, i tired downloading prestashop 8.2 with PHP 8.1 still same mail issue is there. I tired SMTP using Gmail, outlool etc, same problem and i get this error Connection could not be established with host smtp.gmail.com :stream_socket_client(): Unable to connect to smtp.gmail.com:465 (Connection timed out) Edited November 4 by 944288_1508425806 (see edit history) 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