From 071c41a92dd97c61b6782a7303dee1c97aaf7e6f Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 1 Sep 2016 08:43:33 +0530 Subject: [PATCH] Sending email: Allow setting up a mail relay that uses encryption without a username and password. Fixes #1618528 [SMTP to device does not accept blank username / password](https://bugs.launchpad.net/calibre/+bug/1618528) --- src/calibre/gui2/wizard/send_email.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/calibre/gui2/wizard/send_email.py b/src/calibre/gui2/wizard/send_email.py index ef6cc2f790..7511c7c6da 100644 --- a/src/calibre/gui2/wizard/send_email.py +++ b/src/calibre/gui2/wizard/send_email.py @@ -274,11 +274,6 @@ class SendEmail(QWidget, Ui_Form): _('You must either set both the username and password for ' 'the mail server or no username and no password at all.')).exec_() return False - if not username and not password and enc_method != 'NONE': - error_dialog(self, _('Bad configuration'), - _('Please enter a username and password or set' - ' encryption to None ')).exec_() - return False if not (username and password) and not question_dialog(self, _('Are you sure?'), _('No username and password set for mailserver. Most '