Use smtp with starttls (not smtps)

When we use smtps+starttls we have this error : gomail: could not send email 1: SMTP server does not support AUTH, but credentials provided
This commit is contained in:
Josué Tille
2023-11-30 14:24:43 +01:00
parent 7e2809de42
commit a315e28309

View File

@ -37,7 +37,7 @@ LFS_JWT_SECRET = __LFS_JWT_SECRET__
ENABLED = true
SMTP_ADDR = __DOMAIN__
SMTP_PORT = 587
PROTOCOL = smtps+starttls
PROTOCOL = smtp+starttls
FROM = "Gitea" <__APP__-noreply@__DOMAIN__>
USER = __APP__
PASSWD = __MAIL_PWD__