Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

Smtp.gmail.com not working on Localhost

Started by Filippo Masoni 9 years ago · 2 replies · 1621 views
9 years ago

Hi, I've set up a form with email for the first time but I'm getting this error on localhost:
"Connection could not be established with host smtp.gmail.com"

Wamp latest version php7 with extensions openssl and smtp enabled.
Grav latest version with plugins updated

It works on my VPS DigitalOcean with no problems.
It also works if I run the test
bin/plugin email test-email -t
but I'm running it from the new Ubuntu bash on Windows, so that might be different.

What do you think is the problem?

9 years ago

Sorry if I just saw this. What's the real difference with sendmail? I'm not sure if that will work on my DigitalOcean.
And how do I set it up?

Thanks

Suggested topics

Topic Participants Replies Views Activity
Installation & Hosting · by motorambler, 1 month ago
9 677 3 weeks ago
Installation & Hosting · by jeremycherfas, 1 month ago
1 334 1 month ago
Installation & Hosting · by antoinep, 4 months ago
8 1161 4 months ago
Installation & Hosting · by Jürgen Dietrich, 10 months ago
0 800 10 months ago
Installation & Hosting · by rappluk, 12 months ago
0 834 12 months ago