mirror of
https://github.com/janeczku/calibre-web
synced 2024-11-28 20:39:59 +00:00
Fix error 500 on sending test email
This commit is contained in:
parent
092329c9e6
commit
099dbf95e7
@ -119,9 +119,9 @@ def convert_book_format(book_id, calibre_path, old_book_format, new_book_format,
|
|||||||
def send_test_mail(ereader_mail, user_name):
|
def send_test_mail(ereader_mail, user_name):
|
||||||
for email in ereader_mail.split(','):
|
for email in ereader_mail.split(','):
|
||||||
email = email.strip()
|
email = email.strip()
|
||||||
WorkerThread.add(user_name, TaskEmail(_('Calibre-Web Test Email', None, None,
|
WorkerThread.add(user_name, TaskEmail(_('Calibre-Web Test Email'), None, None,
|
||||||
config.get_mail_settings(), email, N_("Test Email"),
|
config.get_mail_settings(), email, N_("Test Email"),
|
||||||
_('This Email has been sent via Calibre-Web.'))))
|
_('This Email has been sent via Calibre-Web.')))
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user