mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
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)
This commit is contained in:
parent
554886b958
commit
071c41a92d
@ -274,11 +274,6 @@ class SendEmail(QWidget, Ui_Form):
|
||||
_('You must either set both the username <b>and</b> 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 '
|
||||
|
Loading…
x
Reference in New Issue
Block a user