Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Smtp.gmail.com not working on Localhost

Started by Filippo Masoni 9 years ago · 2 replies · 1769 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 DrPen, 6 days ago
4 116 4 days ago
Installation & Hosting · by vollstock, 3 weeks ago
3 220 3 weeks ago
Installation & Hosting · by David, 7 years ago
3 3507 1 month ago
Installation & Hosting · by David Meissner, 1 month ago
3 344 1 month ago
Installation & Hosting · by David Meissner, 1 month ago
0 268 1 month ago