diff --git a/cps/helper.py b/cps/helper.py index d2026db0..e238132f 100755 --- a/cps/helper.py +++ b/cps/helper.py @@ -113,7 +113,7 @@ def send_test_mail(ereader_mail, user_name): for email in ereader_mail.split(','): email = email.strip() WorkerThread.add(user_name, TaskEmail(_(u'Calibre-Web test e-mail'), None, None, - config.get_mail_settings(), email, N_(u"Test e-mail"), + config.get_mail_settings(), email, N_(u"Test e-mail"), _(u'This e-mail has been sent via Calibre-Web.'))) return @@ -227,8 +227,8 @@ def send_mail(book_id, book_format, convert, ereader_mail, calibrepath, user_id) for email in ereader_mail.split(','): email = email.strip() WorkerThread.add(user_id, TaskEmail(_(u"Send to E-Reader"), book.path, converted_file_name, - config.get_mail_settings(), email, email_text, - _(u'This e-mail has been sent via Calibre-Web.'))) + config.get_mail_settings(), email, + email_text, _(u'This e-mail has been sent via Calibre-Web.'))) return return _(u"The requested file could not be read. Maybe wrong permissions?")