caffe663 Posted May 9, 2021 Share Posted May 9, 2021 (edited) My customers can't send their email to me when they forgot their password. I go to the email in the admin to send a test email and here is what it says: Error: Please check your configuration Connection could not be established with host smtp.syun.vn :stream_socket_client(): php_network_getaddresses: getaddrinfo failed: Name or service not known Please some one help me with this. Edited May 12, 2021 by caffe663 (see edit history) Link to comment Share on other sites More sharing options...
joseantgv Posted May 10, 2021 Share Posted May 10, 2021 The emails sent from the store to the customers arrive correctly? Check your configuration at "Advanced Parameters > E-mail". Link to comment Share on other sites More sharing options...
caffe663 Posted May 11, 2021 Author Share Posted May 11, 2021 On 5/10/2021 at 2:43 PM, joseantgv said: The emails sent from the store to the customers arrive correctly? Check your configuration at "Advanced Parameters > E-mail". Thank you for responding When i try to configure the e mail and set it up to the smtp sever here is what it keeps saying although i enter the right password: Error: Please check your configuration Failed to authenticate on SMTP server with username "[email protected]" using 3 possible authenticators. Authenticator LOGIN returned Expected response code 235 but got code "535", with message "535-5.7.8 Username and Password not accepted. Learn more at 535 5.7.8 https://support.google.com/mail/?p=BadCredentials l21sm13046429pfc.114 - gsmtp ". Authenticator PLAIN returned Expected response code 235 but got code "535", with message "535-5.7.8 Username and Password not accepted. Learn more at 535 5.7.8 https://support.google.com/mail/?p=BadCredentials l21sm13046429pfc.114 - gsmtp ". Authenticator XOAUTH2 returned Expected response code 250 but got code "535", with message "535-5.7.8 Username and Password not accepted. Learn more at 535 5.7.8 https://support.google.com/mail/?p=BadCredentials l21sm13046429pfc.114 - gsmtp ". Link to comment Share on other sites More sharing options...
caffe663 Posted May 11, 2021 Author Share Posted May 11, 2021 On 5/10/2021 at 2:43 PM, joseantgv said: The emails sent from the store to the customers arrive correctly? Check your configuration at "Advanced Parameters > E-mail". So i tried to set up again with my gmail and it keep saying Connection could not be established with host smtp.gmail.com :stream_socket_client(): unable to connect to ssl://smtp.gmail.com:50 (Cannot assign requested address) . I search on the forum and replace my port 465 with 993 but it keeps saying : Connection to ssl://smtp.gmail.com:993 Timed Out Link to comment Share on other sites More sharing options...
joseantgv Posted May 11, 2021 Share Posted May 11, 2021 Do you have this option enabled? https://myaccount.google.com/lesssecureapps Link to comment Share on other sites More sharing options...
caffe663 Posted May 12, 2021 Author Share Posted May 12, 2021 Thank both of you a lot. It seems to work now. Thank you. Link to comment Share on other sites More sharing options...
tanmalik786 Posted October 2, 2021 Share Posted October 2, 2021 I tried this on PS v1.7.7.8 and it didn't work unfortunately for me, it still throws Quote Error: Please check your configuration Connection could not be established with host smtp.gmail.com :stream_socket_client(): Peer certificate CN=`wolf.opencommunitynetwork.com' did not match expected CN=`smtp.gmail.com' Link to comment Share on other sites More sharing options...
Andrejkov Posted July 25, 2023 Share Posted July 25, 2023 Hello, I have similar problem. But in my case e-mail works good but sometimes client doesn't get mail and in logs i have error log(The error occurred 4 times in 3 days😞 Swift Error: Connection could not be established with host mail.gxx.eu :stream_socket_client(): php_network_getaddresses: getaddrinfo failed: Name or service not known What could be the reason that from time to time the mail does not work and I get the above error? Regards. 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