From 8e8fdd7af58b925a7959ec8c1a5e8ca31eaf3156 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 30 Sep 2024 12:47:38 +0530 Subject: [PATCH] Remove the Use Hotmail button as Microsoft has disabled SMTP in favor of OAUTH --- src/calibre/gui2/wizard/send_email.py | 2 +- src/calibre/gui2/wizard/send_email.ui | 28 +-------------------------- 2 files changed, 2 insertions(+), 28 deletions(-) diff --git a/src/calibre/gui2/wizard/send_email.py b/src/calibre/gui2/wizard/send_email.py index c3df40de94..dfbf62e65a 100644 --- a/src/calibre/gui2/wizard/send_email.py +++ b/src/calibre/gui2/wizard/send_email.py @@ -200,7 +200,7 @@ class SendEmail(QWidget, Ui_Form): getattr(self, 'relay_'+opts.encryption.lower()).setChecked(True) self.relay_tls.toggled.connect(self.changed) - for x in ('gmx', 'hotmail'): + for x in ('gmx',): button = getattr(self, 'relay_use_'+x) button.clicked.connect(partial(self.create_service_relay, x)) self.relay_show_password.stateChanged.connect( diff --git a/src/calibre/gui2/wizard/send_email.ui b/src/calibre/gui2/wizard/send_email.ui index 467e7d7a6c..4002998664 100644 --- a/src/calibre/gui2/wizard/send_email.ui +++ b/src/calibre/gui2/wizard/send_email.ui @@ -7,7 +7,7 @@ 0 0 585 - 238 + 242 @@ -232,32 +232,6 @@ - - - - - 0 - 0 - - - - Use &Outlook - - - - :/images/hotmail.png:/images/hotmail.png - - - - 48 - 48 - - - - Qt::ToolButtonTextUnderIcon - - -