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
No known key found for this signature in database
GPG Key ID: 716A6C99B04194EF

View File

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