View Single Post
Old 09-21-2015, 12:54 AM   #20
koland
Grand Sorcerer
koland ought to be getting tired of karma fortunes by now.koland ought to be getting tired of karma fortunes by now.koland ought to be getting tired of karma fortunes by now.koland ought to be getting tired of karma fortunes by now.koland ought to be getting tired of karma fortunes by now.koland ought to be getting tired of karma fortunes by now.koland ought to be getting tired of karma fortunes by now.koland ought to be getting tired of karma fortunes by now.koland ought to be getting tired of karma fortunes by now.koland ought to be getting tired of karma fortunes by now.koland ought to be getting tired of karma fortunes by now.
 
Posts: 8,549
Karma: 8033155
Join Date: Aug 2008
Location: TN, USA
Device: kindle(all), nook, nookcolor, Sony, Kobo, epic, iphone, iPad, pc
Had similar issue tonight, on account that had been working fine before. seems gmail is blocking "less secure" apps (of which it apparently considers Calibre now). A test email failed with the message below (after the break).

It turns out you must log into gmail, then click on My Account (under your username), then click on "Connected apps & sites" and search for a setting called "Allow less secure apps". If the setting is OFF (the default and recommended setting), you get an error trying to email from Calibre. Setting it to ON results in immediate ability to email from Calibre.

------------------
Traceback (most recent call last):
File "site-packages\calibre\gui2\wizard\send_email.py", line 174, in test_email_settings
File "site-packages\calibre\utils\smtp.py", line 135, in sendmail
File "site-packages\calibre\utils\smtplib.py", line 617, in login
SMTPAuthenticationError: (534, '5.7.14 <https://accounts.google.com/ContinueSignIn?......> Please log in via your web browser and\n5.7.14 then try again.\n5.7.14 Learn more at\n5.7.14 https://support.google.com/mail/answer/78754 p76sm9316854ioi.42 - gsmtp')
koland is offline   Reply With Quote