Error sending test email

When I test sending email I get the message below:

Failed to send test email to ‘’: gomail: could not send email 1: NewClient:tls:first record does not look like a TLS hand.

My configuration is as follows:

vi /etc/gitea/app.ini

PASSWD         = mypasswd                                                                                     
ENABLED        = true                                                                                                                    
FROM           =                                                                 
USER           =                                                                                         
HOST           =                                                                                      
MAILER_TYPE    = smtp                                                                                                                    

I used the links below:

1 Like