githaven/services/mailer
guillep2k 08ae6bb7ed Rewrite delivery of issue and comment mails (#9009)
* Mail issue subscribers, rework the function

* Simplify a little more

* Fix unused variable

* Refactor mail delivery to avoid heavy load on server

* Avoid splitting into too many goroutines

* Fix comments and optimize GetMaileableUsersByIDs()

* Fix return on errors
2019-11-18 08:08:20 +00: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 Rewrite delivery of issue and comment mails (#9009) 2019-11-18 08:08:20 +00:00
mail.go Rewrite delivery of issue and comment mails (#9009) 2019-11-18 08:08:20 +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