Jump to content

SMTP Gmail not working after update to latest.


delboy01

Recommended Posts

So im my email setting nothing has changed.

 

Only thing thats changed is updated to the newest version of prestashop 1.7.7.2

 

And one know how to fix this please

Error: Please check your configuration

Connection could not be established with host smtp.gmail.com :stream_socket_client(): unable to connect to ssl://smtp.gmail.com:465 (Network is unreachable)

 

Thanks

Link to comment
Share on other sites

  • 1 month later...
  • 2 years later...

1 ) Make sure that the SMTP settings in your Prestashop are correct. You should double-check that the host name, port number, and authentication details are all accurate. In this case, the host name should be "smtp.gmail.com" and the port number should be 465 for SSL.

2 ) Try this solution found here : 

1. Log in to your Gmail account.
2. Enable access to your account for "less secure apps":
<https://www.google.com/settings/security/lesssecureapps>
3. Authorize the association of a new connection point:
<https://g.co/allowaccess>
4. Configure SMTP access on Prestashop:

SMTP server: smtp.gmail.com
SMTP user: [[email protected]](mailto:[email protected])
SMTP password: your Gmail password
Encryption: SSL
Port: 465

5. Save the configuration.
6. Send a test email. It should work.

3 ) Check Firewall of your hosting provider
4 ) If no solution works, try free SMTP solutions like https://www.brevo.com/en/ and see if it works or not.

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...