Use correct email to reply

when we use other user for email than gitea we have this error: gomail: could not send email 1: failed to issue RCPT command: 553 5.7.1 : Sender address rejected: not owned by user gitea
This commit is contained in:
Josué Tille 2023-11-30 14:26:08 +01:00
parent a315e28309
commit 396f0d4aaa
No known key found for this signature in database
GPG Key ID: 716A6C99B04194EF

View File

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