Sending email in plain text

hi all,

I’m upgraded to gitea 1.16.6 which made all the email to fail in sending and getting the following:

gomail: could not send email 1: NewClient: tls: first record does not look like a TLS handshake

this is the configuration we are using:

[mailer]
ENABLED = true
SKIP_VERIFY = true
MAILER_TYPE = smtp
SEND_AS_PLAIN_TEXT = true
SKIP_VERIFY = true
IS_TLS_ENABLED = true
HOST    = 10.0.55.40:25
FROM    = git@git.<mydomain>.net
USER    = 
PASSWD  = 

note that gitea is used only internally

How about upgrade to v1.16.8?