Commit Graph

55 Commits

Author SHA1 Message Date
Son NK 027cbb10d9 use parseaddr instead of get_email_part 2020-03-15 22:32:48 +01:00
Son NK 6b6fca2281 use email.utils.parseaddr and formataddr instead of get_email_name 2020-03-15 22:29:53 +01:00
Son NK 69198ff08a delete all unnecessary headers in PGP 2020-03-14 22:24:02 +01:00
Son NK 0bb9830680 Store the bounced email in email handling. 2020-03-14 16:34:23 +01:00
Son NK fac833b8e6 support the case user wants to re-add their real email as mailbox 2020-03-08 10:05:13 +01:00
Son NK b15eeb10c5 If POSTFIX_SUBMISSION_TLS, use port 587 2020-03-03 10:49:27 +01:00
Son NK 6615631b4e improve logging 2020-02-23 14:38:53 +07:00
Son NK 85eca009ac send_email accepts bounced_email (optional) param 2020-02-22 20:39:45 +07:00
Son NK fc09f911a4 refactor email-handler: extract try_auto_create() 2020-02-19 22:15:27 +07:00
Son NK 7598a167d0 Improve emails that inform unauthorized user 2020-02-11 22:58:30 +07:00
Son NK b41a61165c use mailbox_email when notifying user attempt to send from his alias 2020-02-11 22:46:53 +07:00
Son NK 821372fdfd add email_already_used() and use it when creating user 2020-02-10 23:16:30 +07:00
Son NK 1086275af3 add_dkim_signature: make sure to delete DKIM-Signature header before 2020-02-07 22:04:27 +07:00
Son NK dec36ceeec Fix add_or_replace_header: make sure to delete all header occurrences before 2020-02-07 22:04:27 +07:00
Son NK 4c383663f4 Fix delete_header not deleting all header occurences 2020-02-07 22:04:27 +07:00
Son NK 1c960f7c33 rename _render -> render 2020-02-03 13:47:34 +07:00
Son NK 55dcf9e6a2 black format 2020-02-03 13:47:13 +07:00
Son NK 9dd7698636 organize emails into transactional/ and com/ 2020-02-03 13:47:13 +07:00
Son NK 8da4557325 send trial ending reminder when trial ends in 2-3 days 2020-01-30 14:19:09 +07:00
Son NK 01abc48f62 add trial information into welcome email 2020-01-30 13:54:33 +07:00
Son NK 86b2e3eb77 fix formatting 2020-01-28 09:31:47 +07:00
Son NK 4dfa45886e add SUPPORT_NAME param 2020-01-28 09:29:04 +07:00
Son NK fc7a832969 add can_be_used_as_personal_email() 2020-01-25 22:40:30 +07:00
Son NK 00dac9a95a notify user if reply from alias is NOT sent from their personal email 2020-01-22 23:18:27 +01:00
Son NK d7ed0d77bd add email_belongs_to_alias_domains() to verify if an email belongs to one of the alias domains 2020-01-22 10:24:17 +01:00
Son NK a03db0d129 create email templates 2020-01-16 22:27:45 +01:00
Son NK 3f0aae6f02 send email notifying user that alias creation works only in premium plan 2020-01-16 22:06:36 +01:00
Son NK d5dd46f4b1 Fix email title as name now can be empty 2020-01-11 22:33:25 +01:00
Son NK 434f82a244 fix formatting 2020-01-08 12:58:34 +01:00
Son NK 0300d38f56 make sure delete_header() delete all headers occurences 2020-01-08 12:42:25 +01:00
Son NK 27b9312057 fix formatting 2020-01-07 19:50:36 +01:00
Son NK ba46d8f7e0 add delete_header() 2020-01-07 19:49:26 +01:00
Son NK 44527c6c4e fix annotation on email_utils 2020-01-07 19:47:26 +01:00
Son NK 3bca9fde6b refactor: move add_or_replace_header to email_utils 2020-01-07 19:46:57 +01:00
Son NK b9908a16b2 add get_email_local_part(), get_email_domain_part() to email_utils 2019-12-30 18:18:10 +01:00
Tung Nguyen 4f751e5cd2 fix typos and improve messages showing at the end users 2019-12-26 13:00:17 +00:00
Son NK ea1492904a only print out plaintext when NOT_SEND_EMAIL 2019-12-22 15:58:07 +00:00
Son NK 4799721667 remove DKIM-Signature if any 2019-12-17 19:06:17 +02:00
Son NK a61b900675 Sign DKIM at app level
- add DKIM_PRIVATE_KEY_PATH param
- create email_utils.add_dkim_signature
- add DKIM signature for transactional emails
- add DKIM signature for forward & reply emails. In reply phase, only non-custom-domain emails have DKIM added.
2019-12-17 18:50:26 +02:00
Son NK f8293bc618 make ADMIN_EMAIL optional 2019-12-16 19:36:59 +02:00
Son NK 62e0ae27a0 move get_email_name, get_email_part to email_utils 2019-12-15 18:55:18 +02:00
Son NK 9dd4a4afb7 take into account NOT_SEND_EMAIL param 2019-12-15 18:55:17 +02:00
Son NK 2ec89afac2 add ADMIN_EMAIL and send notif to this email 2019-12-15 18:55:15 +02:00
Son NK 019aae24f3 Activation email: use base template, change wording. 2019-12-15 18:55:15 +02:00
Son NK 34cf72eaee create POSTFIX server 2019-12-15 18:55:15 +02:00
Son NK be6266fb0e create change-email email 2019-12-15 18:55:15 +02:00
Son NK 67f7b95c36 add Message-ID and Date header to email 2019-12-15 18:55:14 +02:00
Son NK 6879490557 test email template 2019-12-15 18:55:14 +02:00
Son NK 6f93f419c2 send by postfix only 2019-12-15 18:55:14 +02:00
Son NK 727830be6b improve email wording for test email 2019-12-15 18:55:14 +02:00