mirror of
1
Fork 0
forgejo/services/mailer
mrsdizzie b39fab41c8 Some more e-mail notification fixes (#9596)
* Some more e-mail notification fixes

A few more small e-mail notification fixes/changes

* Style footer of notification email to be smaller
* Include text for when pull request is merged
* Don't include original body of issue or PR when merging/closing by
setting issue.Content to "" in these cases

* Set Re: prefix and meessage-ID headers based on actName instead of checking for a
comment. This fixes a bug where certain actions that didn't have a
comment were setting Message-ID instead of In-Reply-To which caused some
mail programs not to show those messages as they would have had the same
Message-ID as a previous message. Also fixes the case where a final
comment and closing message would have been displayed out of order if
you didn't have a copy of the original issue/pr cretion message.

* Update other template footers for consistency
2020-01-03 19:13:22 +02:00
..
mail.go Some more e-mail notification fixes (#9596) 2020-01-03 19:13:22 +02:00
mail_comment.go Rewrite delivery of issue and comment mails (#9009) 2019-11-18 08:08:20 +00:00
mail_issue.go Rewrite delivery of issue and comment mails (#9009) 2019-11-18 08:08:20 +00:00
mail_test.go Add ActionCommentPull action (#9456) 2019-12-22 08:29:26 +00:00
mailer.go Rewrite delivery of issue and comment mails (#9009) 2019-11-18 08:08:20 +00:00
main_test.go Move all mail related codes from models to services/mailer (#7200) 2019-09-24 13:02:49 +08:00