Skip to content

Commit

Permalink
Remove the Use Hotmail button as Microsoft has disabled SMTP in favor…
Browse files Browse the repository at this point in the history
… of OAUTH
  • Loading branch information
kovidgoyal committed Sep 30, 2024
1 parent 591ae64 commit 8e8fdd7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 28 deletions.
2 changes: 1 addition & 1 deletion src/calibre/gui2/wizard/send_email.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ def initialize(self, preferred_to_address):
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(
Expand Down
28 changes: 1 addition & 27 deletions src/calibre/gui2/wizard/send_email.ui
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>585</width>
<height>238</height>
<height>242</height>
</rect>
</property>
<property name="windowTitle">
Expand Down Expand Up @@ -232,32 +232,6 @@
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="relay_use_hotmail">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Use &amp;Outlook</string>
</property>
<property name="icon">
<iconset resource="../../../../resources/images.qrc">
<normaloff>:/images/hotmail.png</normaloff>:/images/hotmail.png</iconset>
</property>
<property name="iconSize">
<size>
<width>48</width>
<height>48</height>
</size>
</property>
<property name="toolButtonStyle">
<enum>Qt::ToolButtonTextUnderIcon</enum>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="test_email_button">
<property name="text">
Expand Down

0 comments on commit 8e8fdd7

Please sign in to comment.