Hey Folks,
I’ve searched for issues on this discourse for GMAIL Problems, but it hasn’t helped.
I’m trying to send email from my Gitea Server via a gmail account that does not have 2FA enabled.
Here are my settings in the app.ini file:
[mailer]
ENABLED = true
HOST = smtp gmail com:587
FROM = example@gmail.com
USER = example@gmail.com
PASSWD = MyPassWord
MAILER_TYPE = smtp
IS_TLS_ENABLED = true
HELO_HOSTNAME = my hostname com
(sorry I had to pull out the ‘.’ in the HOST and HELO_HOSTNAME as discourse was not letting me post more than 2 links)
The error message i recieve when i try to send a test email is the following:
Failed to send a testing email to ‘MyEmailAddress@gmail’: gomail: could not send email 1: NewClient: tls: first record does not look like a TLS handshake
Your help is greatly appreciated.
Cheers!