Remove the Use Hotmail button as Microsoft has disabled SMTP in favor of OAUTH

This commit is contained in:
Kovid Goyal 2024-09-30 12:47:38 +05:30
parent 591ae6413f
commit 8e8fdd7af5
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
2 changed files with 2 additions and 28 deletions

View File

@ -200,7 +200,7 @@ class SendEmail(QWidget, Ui_Form):
getattr(self, 'relay_'+opts.encryption.lower()).setChecked(True) getattr(self, 'relay_'+opts.encryption.lower()).setChecked(True)
self.relay_tls.toggled.connect(self.changed) self.relay_tls.toggled.connect(self.changed)
for x in ('gmx', 'hotmail'): for x in ('gmx',):
button = getattr(self, 'relay_use_'+x) button = getattr(self, 'relay_use_'+x)
button.clicked.connect(partial(self.create_service_relay, x)) button.clicked.connect(partial(self.create_service_relay, x))
self.relay_show_password.stateChanged.connect( self.relay_show_password.stateChanged.connect(

View File

@ -7,7 +7,7 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>585</width> <width>585</width>
<height>238</height> <height>242</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
@ -232,32 +232,6 @@
</property> </property>
</widget> </widget>
</item> </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> <item>
<widget class="QPushButton" name="test_email_button"> <widget class="QPushButton" name="test_email_button">
<property name="text"> <property name="text">