Glen MacPherson Posted February 14, 2021 Share Posted February 14, 2021 My host is SiteGround, and I can use PHP Sendmail in other applications with no issues. When I use /usr/sbin/sendmail in 1.7.7.1 I get: "Error: Please check your configuration Expected response code 220 but got an empty response" ------------------------------------------- When I switch to SMTP, using these settings provided SiteGround tech support: Mail domain name: mydomain SMTP Server: mydomain SMTP Username: me@mydomain SMTP Password: password (I've triple checked this) Encryption: SSL Port: 465 The result is: Error: Please check your configuration. ------------------------------------ NOTE: I found it odd that both the domain name and the SMTP Server name were both simply "mydomain", but the tech fellow told me that was correct. When I change to unencrypted using Port 25, the error is the same. When I change the SMTP servername to: SMTP.mydomain I get: Error: Please check your configuration Connection could not be established with host SMTP.MYDOMAIN :stream_socket_client(): unable to connect to SMTP.MYDOMAIN:25 (Connection timed out) ------------------------------- When I change the SMTP server to mail.mydomain, I again get: Error: Please check your configuration The logs are showing nothing: Link to comment Share on other sites More sharing options...
Glen MacPherson Posted February 14, 2021 Author Share Posted February 14, 2021 ... and, when I took a look at app/config/parameters.php, there is a section that looks like: 'mailer_transport' => 'smtp', 'mailer_host' => '127.0.0.1', 'mailer_user' => NULL, 'mailer_password' => NULL, ------------- How can that be correct? Link to comment Share on other sites More sharing options...
Glen MacPherson Posted February 14, 2021 Author Share Posted February 14, 2021 SOLVED. I switched over to using GMAIL as my outgoing mail server, and everything worked fine. Link to comment Share on other sites More sharing options...
GordanaX Posted February 25, 2021 Share Posted February 25, 2021 Hi Glen, I have the same problem, prestashop would not send emails, can't set up smtp, it shows the same error. How did you solve it exactly could you please explain? Much appreciated. Link to comment Share on other sites More sharing options...
Glen MacPherson Posted February 25, 2021 Author Share Posted February 25, 2021 It was one of the most frustrating tech issues I've ever dealt with. I put at least 20 hours into it. I use 2FA Authentication on Gmail, and so I followed these instructions (or possibly another site that had the same instructions). https://support.cloudways.com/configure-gmail-smtp/ Let me know if you can't make it work - I might be able to help you further. Cheers Glen Link to comment Share on other sites More sharing options...
GordanaX Posted February 26, 2021 Share Posted February 26, 2021 Hi Glen, I think I finally made it work. I'm on dedicated server (SoyouStart) and Ubuntu 20.04 OS that I have installed didn't have Sendmail so I installed it by following these instructions: https://www.cier.tech/blog/tech-tutorials-4/post/how-to-install-and-configure-sendmail-on-ubuntu-35 It finally seems to be working (hard to believe it gave me such a hard time!) by using the first option for Email in Prestashop: Use /usr/sbin/sendmail (recommended; works in most cases) I also use [email protected] for Shop email (it seems to be important according to some forums..) Writing this here in case someone could find it useful. Link to comment Share on other sites More sharing options...
ajik Posted February 26, 2021 Share Posted February 26, 2021 Hello Glen, I have same issue - using prestashop on siteground. I will try out your steps. But is the password-recovery function for your prestashop site working. thanks Link to comment Share on other sites More sharing options...
BeckyW1984 Posted April 13, 2021 Share Posted April 13, 2021 @Glen MacPherson I am struggling with this so much. I have pretty much everything else sorted but cannot get outgoing emails to work at all. I tried to set it up with my ionos hosted domain email but that wouldn't work at all and then tried to set up with Gmail account but it still returns an error when generating the test email. Can anyone help at all? Link to comment Share on other sites More sharing options...
Glen MacPherson Posted April 13, 2021 Author Share Posted April 13, 2021 What exactly happened when you tried Google? 1 Link to comment Share on other sites More sharing options...
BeckyW1984 Posted April 14, 2021 Share Posted April 14, 2021 Thank you Glen for responding, this is the first thing I havent been able to get a solution for everything else i have managed to sort along the way (I am no web developer just picking it up as I go) When I enter the details I get the following message. I have checked and rechecked and even changed the password in case I was getting it wrong but I know its good. I have also tried the TLS setting but that didnt work either. I am wondering if you have to have gmail workplace set up as I think this is just set up as a general personal gmail account. Any help is greatly appreciated. Link to comment Share on other sites More sharing options...
Glen MacPherson Posted April 14, 2021 Author Share Posted April 14, 2021 Just checking first that you followed the instructions here: https://support.cloudways.com/configure-gmail-smtp/ You need to create an app password in order to use Gmail's outgoing mail server. Link to comment Share on other sites More sharing options...
BeckyW1984 Posted April 14, 2021 Share Posted April 14, 2021 Yes absolutely, I followed that process and created the app password Link to comment Share on other sites More sharing options...
Refillman Posted May 27, 2021 Share Posted May 27, 2021 (edited) Having the same problem. but I don't want a Gmail account I want to use my own account. tried all the above setting they are correct but it wont connect please please help. Regards Edited May 27, 2021 by Refillman missed text out (see edit history) Link to comment Share on other sites More sharing options...
Glen MacPherson Posted May 27, 2021 Author Share Posted May 27, 2021 I know how terribly frustrating it is - I was on the verge of giving up. One other fellow on this forum had no choice but to pay for a plugin that apparently works well. I was doing the site for a friend, so I wasn't willing to do that. The plugin in question is not terribly expensive. I imagine you've already read the post and plugin I'm referring to, but I can go find it again if need be. Link to comment Share on other sites More sharing options...
Refillman Posted May 27, 2021 Share Posted May 27, 2021 please if you can send me a link much appreciated Link to comment Share on other sites More sharing options...
Refillman Posted May 27, 2021 Share Posted May 27, 2021 sorted my guys at Kystal Hosting got it working thanks for the help Link to comment Share on other sites More sharing options...
chinthaka sandaruwan Posted August 22, 2023 Share Posted August 22, 2023 same problem for me, finally sort-out contacting with siteground customer support, for me please change shop email address ("shop parameter > contacts > store") to your smtp email address and then try again, check both email same and then try. 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