Page 1 of 1
Gmail SMTP Setup
Posted: Thu Jul 21, 2022 9:14 am
by quinlan56
Having issues with v2022 trying to set up the SMTP setting for GMail.
I have tried with 2 different GMail account settings, but it just times out.
- a personal GMail account, with an Account Password (2-Step Verification is On)
- a Google Workspace account, with Allow less secure apps turned on
Any insights ?
Re: GMail SMTP Setup
Posted: Thu Jul 21, 2022 9:25 am
by arbei
You may search "gmail smtp" in this forum or google the same.
Re: GMail SMTP Setup
Posted: Thu Jul 21, 2022 10:25 am
by dquinlan
Yes I gave dione that and followed all the suggestions and config requirements.
What ever I do I get
[2022-07-21T01:44:38.598104+00:00] log.DEBUG: 405 Method Not Allowed Type: Slim\Exception\HttpMethodNotAllowedException Code: 405 Message: Method not allowed. Must be one of: GET
File: /opt/bitnami/apache/htdocs/vendor/slim/slim/Slim/Middleware/RoutingMiddleware.php Line: 94
Re: GMail SMTP Setup
Posted: Thu Jul 21, 2022 1:14 pm
by arbei
dquinlan wrote:
Method not allowed. Must be one of: GET
As the error said. You tried to POST to a script which does not accept POST.
You might be trying to use your own code to send email. You better post what you tried and your code for discusssion.
Re: Gmail SMTP Setup
Posted: Sat Aug 06, 2022 1:14 pm
by vuongduongquoc
You need to Turn OFF less secure apps.
It's working fine for me.
Smtp host: smtp.gmail.com
SSL/Port 465
Auto TLS on
Re: Gmail SMTP Setup
Posted: Sun Aug 07, 2022 12:12 am
by sticcino
I don't believe this works any longer ?. I read Gmail has shutdown these features down. I was using gmail for years then a month or so ago, it all came to a halt. Unless they changed a flag ?
Re: Gmail SMTP Setup
Posted: Fri Aug 12, 2022 5:02 pm
by vuongduongquoc
Google paid account works for me.
Turn on: Less secured app
smtp.gmail.com
Port: 587
Security: TLS