1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-12-25 17:40:31 +00:00

Fix error 500 on sending test email

This commit is contained in:
Ozzie Isaacs 2024-07-10 19:59:21 +02:00
parent 092329c9e6
commit 099dbf95e7

View File

@ -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):
for email in ereader_mail.split(','):
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"),
_('This Email has been sent via Calibre-Web.'))))
_('This Email has been sent via Calibre-Web.')))
return