Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Installation & Hosting

Smtp.gmail.com not working on Localhost

Started by Filippo Masoni 8 years ago · 2 replies · 1314 views
8 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?

8 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 antoinep, 12 hours ago
5 59 6 hours ago
Installation & Hosting · by Jürgen Dietrich, 7 months ago
0 61 7 months ago
Installation & Hosting · by rappluk, 8 months ago
0 61 8 months ago
Installation & Hosting · by N, 12 months ago
3 72 12 months ago
Installation & Hosting · by Youle, 1 year ago
1 61 1 year ago