mirror of
1
Fork 0
forgejo/services/mailer
zeripath 38347aa16f
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>
2021-11-19 23:35:20 +08:00
..
mail.go Move EmailAddress & UserRedirect into models/user/ (#17607) 2021-11-11 15:03:30 +08:00
mail_comment.go Send registration email on user autoregistration (#16523) 2021-08-12 10:26:33 +03:00
mail_issue.go Move unit into models/unit/ (#17576) 2021-11-09 20:57:58 +01:00
mail_release.go Send registration email on user autoregistration (#16523) 2021-08-12 10:26:33 +03:00
mail_repo.go Send registration email on user autoregistration (#16523) 2021-08-12 10:26:33 +03:00
mail_test.go Decouple unit test, remove intermediate `unittestbridge` package (#17662) 2021-11-16 16:53:21 +08:00
mailer.go Add settings to allow different SMTP envelope from address (#17479) 2021-11-19 23:35:20 +08:00
main_test.go Decouple unit test code from business code (#17623) 2021-11-12 22:36:47 +08:00