]> source.dussan.org Git - gitea.git/commit
Add settings to allow different SMTP envelope from address (#17479)
authorzeripath <art27@cantab.net>
Fri, 19 Nov 2021 15:35:20 +0000 (15:35 +0000)
committerGitHub <noreply@github.com>
Fri, 19 Nov 2021 15:35:20 +0000 (23:35 +0800)
commit38347aa16f7cfb32bb984ade4518bd311d0aff12
treeb1566f8cb2a481162b799e86308eb522d51f33e1
parentd4e281bc02908f5e1dda3dc4d340e2898048faef
Add settings to allow different SMTP envelope from address (#17479)

* Add settings to allow different SMTP envelope from address

Sometimes it may be advisable to hide or alias the from address on an SMTP mail
envelope. This PR adds two new options to the mailer to allow setting of an overriding
from address.

Fix #17477

Signed-off-by: Andrew Thornton <art27@cantab.net>
custom/conf/app.example.ini
docs/content/doc/advanced/config-cheat-sheet.en-us.md
modules/setting/mailer.go
services/mailer/mailer.go