From 099dbf95e7b6adbd15e03839dd7f5fa601f7cff8 Mon Sep 17 00:00:00 2001 From: Ozzie Isaacs Date: Wed, 10 Jul 2024 19:59:21 +0200 Subject: [PATCH] Fix error 500 on sending test email --- cps/helper.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cps/helper.py b/cps/helper.py index a1d28275..b7d4452f 100644 --- a/cps/helper.py +++ b/cps/helper.py @@ -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