mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
also recognize @free.kindle.com in addition to @kindle.com
This commit is contained in:
parent
4db3499b67
commit
b37a50336b
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user