Commit Graph

9 Commits

Author SHA1 Message Date
Kailash Nadh 047de69770 Add support for no-auth SMTPs 2020-02-05 18:09:13 +05:30
Rohan Verma 712ad2d517 chore: minor refactors based on static checks
- unchecked returns fixed (most)
- remove unused constants
- remove unsed structs
- function parameters unused or incorrectly used
- removed if else chains for error checks
- use regex MustCompile instead of compile
- spell checks
- preallocate slice cap when size known
- scope issues inside range
2019-10-29 11:03:51 +05:30
Kailash Nadh 81d3046374 Refactor Messenger/Emailer to accept attachments 2019-07-18 12:40:48 +05:30
Kailash Nadh fe4f39f65d Replace viper with koanf 2019-06-26 16:53:23 +05:30
Kailash Nadh c24c19b120 Add admin e-mail notifications.
- Add notifications for campaign state change
- Add notifications for import state change

Related changes.
- Add a new 'templates' directory with HTML templates
- Move the static campaign template as a .tpl file into it
- Change Messenger.Push() to accept multiple recipients
- Change exhaustCampaign()'s behaviour to pass metadata to admin emails
2018-11-28 13:29:57 +05:30
Kailash Nadh f75f1cdd61 Fix hardcoded max_conns SMTP config 2018-11-05 19:44:21 +05:30
Kailash Nadh 229fd7f0c1 Remove debug line ;( 2018-10-26 13:27:39 +05:30
Kailash Nadh 2064f06218 Fix next-campaigns to update fields irrespective of to_send 2018-10-26 13:21:45 +05:30
Kailash Nadh 3ab21383b1 Fresh start 2018-10-25 19:21:47 +05:30