Son NK
|
8517e7d356
|
refactor com emails: remove non-uses, move to the right location
|
2020-09-30 11:51:43 +02:00 |
|
Son NK
|
4b697fc897
|
parseaddr_unicode: handle case where name is bytes
|
2020-09-16 17:34:33 +02:00 |
|
Son NK
|
03dfafe1cf
|
handle linebreak in parseaddr_unicode
|
2020-09-16 17:28:01 +02:00 |
|
Son NK
|
40892f8253
|
contact email can contain whitespace
|
2020-09-14 18:21:30 +02:00 |
|
Son NK
|
c6eba9f125
|
improve welcome email
|
2020-09-12 14:34:32 +02:00 |
|
Son NK
|
85b87bbacb
|
improve send_email_with_rate_control to use on any day range
|
2020-08-31 17:32:46 +02:00 |
|
Son NK
|
ffc59a6fad
|
Add check_custom_domain cronjob
|
2020-08-29 19:05:32 +02:00 |
|
Son NK
|
37a53757eb
|
add send_email_at_most_times
|
2020-08-27 10:43:30 +02:00 |
|
Son NK
|
fdedc24358
|
black new version
|
2020-08-27 10:20:48 +02:00 |
|
Son NK
|
cd687664d1
|
fix email template
|
2020-08-25 13:03:34 +02:00 |
|
Son Nguyen Kim
|
637bc569eb
|
Merge pull request #260 from FabioWidmer/improvements-1
Improvements for Self Hosting & More
|
2020-08-24 20:16:59 +02:00 |
|
Son NK
|
17c7303fb5
|
add get_header_from_bounce()
|
2020-08-24 10:17:22 +02:00 |
|
Son NK
|
dc8c2f403e
|
try to fix Message.as_bytes() by trying different policies
|
2020-08-21 12:01:11 +02:00 |
|
Fabio Widmer
|
fbb17b1f57
|
Fix email_utils.py formatting
|
2020-08-14 16:50:59 +02:00 |
|
Fabio Widmer
|
9fa9dbe821
|
Fix email_utils.py formatting
|
2020-08-14 16:30:43 +02:00 |
|
Fabio Widmer
|
9226492f83
|
More self hosting improvements
|
2020-08-14 16:23:29 +02:00 |
|
Son NK
|
38a6bcc461
|
add warning log
|
2020-07-23 11:32:11 +02:00 |
|
Son NK
|
d89e41d0e5
|
use user.max_spam_score if present
|
2020-07-23 11:11:43 +02:00 |
|
Son NK
|
4906d3a4a8
|
add more logging in email_domain_can_be_used_as_mailbox
|
2020-06-14 12:00:02 +02:00 |
|
Son NK
|
5705842415
|
add email_utils.copy()
|
2020-06-12 00:02:07 +02:00 |
|
Son NK
|
d0c65ea378
|
send transactional email from SENDER if set
|
2020-06-10 13:55:47 +02:00 |
|
Son NK
|
b47d95226d
|
generate html from plaintext if not set
|
2020-06-10 12:18:39 +02:00 |
|
Son NK
|
0c4e48c906
|
remove bounced_email param from send_email_with_rate_control
|
2020-06-10 12:17:04 +02:00 |
|
Son NK
|
da7b46ef97
|
remove bounced_email param from send_email
|
2020-06-10 12:15:57 +02:00 |
|
Son NK
|
b356ea1b28
|
force convert header to string, sometimes addrs is Header object
|
2020-06-01 21:14:23 +02:00 |
|
Son NK
|
a512fbc6e5
|
use POSTFIX_PORT instead of 25 if it's set
|
2020-05-21 20:43:12 +02:00 |
|
Son NK
|
6cc8dd548c
|
use warning level for "emails were sent to in the last 24h" error
|
2020-05-21 20:07:04 +02:00 |
|
Son NK
|
2978bfb281
|
Fix user cannot change personal email back and better naming.
Happens when user
- changes their personal email
- wants to change back: they can't as this email is already used as mailbox
|
2020-05-15 23:18:30 +02:00 |
|
Son NK
|
3a1af9f424
|
fall back for UnicodeDecodeError
|
2020-05-14 13:27:04 +02:00 |
|
Son NK
|
9ddb8ff2d4
|
add more info to spf alert email. Set the max number of emails per 24h to 1
|
2020-05-10 10:37:56 +02:00 |
|
Son NK
|
ac6d1c1106
|
able to set nb max alert in send_email_with_rate_control
|
2020-05-10 10:34:39 +02:00 |
|
Son NK
|
d9f1fb9130
|
Create send_email_with_rate_control(): same as send_email() but with rate control
|
2020-05-09 20:43:17 +02:00 |
|
Son NK
|
c85ea1538e
|
Allow the same mailbox used by different user
|
2020-05-07 21:47:11 +02:00 |
|
Son NK
|
16de59a9f5
|
mailbox can be other user's email
|
2020-05-06 12:34:52 +02:00 |
|
Son NK
|
6acbf2f8dc
|
do not accept email without MX record
|
2020-04-27 23:08:34 +02:00 |
|
Son NK
|
acacab887e
|
Check MX record of email domain to see if it is disposed
|
2020-04-27 18:17:50 +02:00 |
|
Son NK
|
cf016caa91
|
Refuse disposable emails in can_be_used_as_personal_email()
|
2020-04-16 09:43:14 +02:00 |
|
Son NK
|
a548c84694
|
Make MAX_NB_EMAIL_FREE_PLAN available in all email templates
|
2020-04-08 23:06:56 +02:00 |
|
Son NK
|
afceabeef5
|
add Contact.new_addr()
|
2020-04-05 15:21:04 +02:00 |
|
Son NK
|
c686767d4d
|
Fix parseaddr_unicode: take into account email only case
|
2020-04-05 12:56:17 +02:00 |
|
Son NK
|
6c68b3cda7
|
Fix website_send_to: prefer using name instead of website_from
|
2020-04-05 12:48:59 +02:00 |
|
Son NK
|
5fff1e86ce
|
Add parseaddr_unicode()
|
2020-04-05 12:07:40 +02:00 |
|
Son NK
|
55190ff358
|
use msg.as_bytes() instead of msg.as_string().encode()
|
2020-04-02 21:30:36 +02:00 |
|
Son NK
|
9500cc6cee
|
Take into account spamassassin spam report
|
2020-03-30 22:05:31 +02:00 |
|
Son NK
|
7f49312255
|
use user preferred sender format
|
2020-03-28 22:37:00 +01:00 |
|
Son NK
|
aa3a13c3ca
|
Replace To or CC header when forward/reply
|
2020-03-28 19:16:55 +01:00 |
|
Son NK
|
4f281bdbbb
|
rename GenEmail -> Alias, gen_email to alias whenever possible
|
2020-03-17 11:51:40 +01:00 |
|
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 |
|