also recognize @free.kindle.com in addition to @kindle.com

This commit is contained in:
Kovid Goyal 2022-11-07 08:39:22 +05:30
parent 4db3499b67
commit b37a50336b
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -148,7 +148,7 @@ gui_sendmail = Sendmail()
def is_for_kindle(to):
return isinstance(to, str) and ('@kindle.com' in to or '@kindle.cn' in to)
return isinstance(to, str) and ('@kindle.com' in to or '@kindle.cn' in to or '@free.kindle.com' in to or '@free.kindle.cn' in to)
def send_mails(jobnames, callback, attachments, to_s, subjects,