Replace gmail with gmx

This commit is contained in:
Kovid Goyal 2014-09-04 14:40:39 +05:30
parent 058a61912c
commit fded2d997b
3 changed files with 37 additions and 26 deletions

View File

@ -447,14 +447,11 @@ Because of the large amount of spam in email, sending email can be tricky, as di
The most common problem is if you are sending email directly (without a mail relay) in |app|. Many servers (for example, Amazon) block email The most common problem is if you are sending email directly (without a mail relay) in |app|. Many servers (for example, Amazon) block email
that does not come from a well known relay. The most robust way to setup email sending in |app| is to do the following: that does not come from a well known relay. The most robust way to setup email sending in |app| is to do the following:
* Create a free Hotmail account at `Hotmail <http://www.hotmail.com>`_. * Create a free GMX account at `GMX <http://www.gmx.com>`_.
* Goto Preferences->Email in |app| and click the "Use Hotmail" button and fill in the information asked for. * Goto Preferences->Email in |app| and click the "Use GMX" button and fill in the information asked for.
* Microsoft sometimes requires you to manually send a few emails using their web * |app| will then use GMX to send the mail.
interface with a new account, until you do that, it will prevent automatic
sending of email by |app|. This is likely an anti-spam measure.
* |app| will then use Hotmail to send the mail.
* If you are sending to your Kindle, remember to update the email preferences * If you are sending to your Kindle, remember to update the email preferences
on your Amazon Kindle page to allow email sent from your Hotmail email on your Amazon Kindle page to allow email sent from your GMX email
address. Also note that Amazon does not allow email delivery of AZW3 and address. Also note that Amazon does not allow email delivery of AZW3 and
new style (KF8) MOBI files. new style (KF8) MOBI files.
@ -462,20 +459,25 @@ Even after doing this, you may have problems. One common source of problems is t
programs block |app| from opening a connection to send email. Try adding an exclusion for |app| in your programs block |app| from opening a connection to send email. Try adding an exclusion for |app| in your
antivirus program. antivirus program.
.. note:: Microsoft can disable your account if you use it to send large amounts of email. So, when using Hotmail to send mail |app| automatically restricts .. note::
itself to sending one book every five minutes. If you don't mind risking your account being blocked you can reduce this wait interval by Microsoft/Google can disable your account if you use it to send large
going to Preferences->Tweaks in |app|. amounts of email. So, when using Hotmail/Gmail to send mail |app| automatically
restricts itself to sending one book every five minutes. If you don't mind
risking your account being blocked you can reduce this wait interval by going
to Preferences->Tweaks in |app|.
.. note:: Google recently deliberately broke their email sending protocol (SMTP) support in .. note::
an attempt to force everyone to use their web interface so they can Google recently deliberately broke their email sending protocol (SMTP) support in
show you more ads. They are trying to claim that SMTP is insecure, an attempt to force everyone to use their web interface so they can
that is incorrect and simply an excuse. If you have trouble with show you more ads. They are trying to claim that SMTP is insecure,
gmail you will need to that is incorrect and simply an excuse. If you have trouble with
`allow less secure apps as descibed here <https://support.google.com/accounts/answer/6010255>`_. gmail you will need to
`allow less secure apps as descibed here <https://support.google.com/accounts/answer/6010255>`_.
.. note:: If you are concerned about giving |app| access to your email .. note::
account, simply create a new free email account with Hotmail or Gmail If you are concerned about giving |app| access to your email
and use it only for |app|. account, simply create a new free email account with GMX or Hotmail
and use it only for |app|.
Why is my device not detected in linux? Why is my device not detected in linux?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

View File

@ -134,7 +134,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 ('gmail', 'hotmail'): for x in ('gmx', 'hotmail'):
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(
@ -181,6 +181,15 @@ class SendEmail(QWidget, Ui_Form):
def create_service_relay(self, service, *args): def create_service_relay(self, service, *args):
service = { service = {
'gmx': {
'name': 'GMX',
'relay': 'mail.gmx.com',
'port': 587,
'username': '@gmx.com',
'url': 'www.gmx.com',
'extra': '',
'at_in_username': True,
},
'gmail': { 'gmail': {
'name': 'Gmail', 'name': 'Gmail',
'relay': 'smtp.gmail.com', 'relay': 'smtp.gmail.com',

View File

@ -207,13 +207,13 @@
<item row="1" column="1"> <item row="1" column="1">
<layout class="QVBoxLayout" name="verticalLayout_9"> <layout class="QVBoxLayout" name="verticalLayout_9">
<item> <item>
<widget class="QToolButton" name="relay_use_hotmail"> <widget class="QToolButton" name="relay_use_gmx">
<property name="text"> <property name="text">
<string>Use Hotmail</string> <string>Use GMX</string>
</property> </property>
<property name="icon"> <property name="icon">
<iconset resource="../../../../resources/images.qrc"> <iconset resource="../../../../resources/images.qrc">
<normaloff>:/images/hotmail.png</normaloff>:/images/hotmail.png</iconset> <normaloff>:/images/gmail_logo.png</normaloff>:/images/gmail_logo.png</iconset>
</property> </property>
<property name="iconSize"> <property name="iconSize">
<size> <size>
@ -227,13 +227,13 @@
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QToolButton" name="relay_use_gmail"> <widget class="QToolButton" name="relay_use_hotmail">
<property name="text"> <property name="text">
<string>Use Gmail</string> <string>Use Hotmail</string>
</property> </property>
<property name="icon"> <property name="icon">
<iconset resource="../../../../resources/images.qrc"> <iconset resource="../../../../resources/images.qrc">
<normaloff>:/images/gmail_logo.png</normaloff>:/images/gmail_logo.png</iconset> <normaloff>:/images/hotmail.png</normaloff>:/images/hotmail.png</iconset>
</property> </property>
<property name="iconSize"> <property name="iconSize">
<size> <size>