![]() |
#1 |
Zealot
![]() Posts: 109
Karma: 10
Join Date: Feb 2011
Device: Nook - Simple Touch
|
Linux 5.32 can't send email
https://www.dropbox.com/s/nwlh0h6yud...95835.png?dl=0
These settings work on Windows but fail on Linux. calibre, version 5.32.0 (linux, embedded-python: True) Failed to email book: Failed: Email Foundation 1 - Foundation to essin@ieee,org Starting job: Email Foundation 1 - Foundation to essin@ieee,org connect: ('imap.fastmail.com', 993) connect: ('imap.fastmail.com', 993) reply: b'* OK IMAP4 ready\r\n' reply: retcode (-1); Msg: b'IMAP4 ready' connect: b'IMAP4 ready' Sending failed... Traceback (most recent call last): File "calibre/gui2/email.py", line 49, in run File "calibre/gui2/email.py", line 133, in sendmail File "calibre/utils/smtp.py", line 171, in sendmail File "polyglot/smtplib.py", line 49, in __init__ File "smtplib.py", line 1034, in __init__ File "smtplib.py", line 256, in __init__ smtplib.SMTPConnectError: (-1, b'IMAP4 ready') Retrying in 1 seconds... Waiting 1 seconds before sending, to avoid being marked as spam. You can control this delay via Preferences->Tweaks connect: ('imap.fastmail.com', 993) connect: ('imap.fastmail.com', 993) reply: b'* OK IMAP4 ready\r\n' reply: retcode (-1); Msg: b'IMAP4 ready' connect: b'IMAP4 ready' Sending failed... Traceback (most recent call last): File "calibre/gui2/email.py", line 49, in run File "calibre/gui2/email.py", line 133, in sendmail File "calibre/utils/smtp.py", line 171, in sendmail File "polyglot/smtplib.py", line 49, in __init__ File "smtplib.py", line 1034, in __init__ File "smtplib.py", line 256, in __init__ smtplib.SMTPConnectError: (-1, b'IMAP4 ready') Job: "Email Foundation 1 - Foundation to essin@ieee,org" failed with error: Traceback (most recent call last): File "calibre/gui2/threaded_jobs.py", line 83, in start_work File "calibre/gui2/email.py", line 106, in __call__ File "calibre/gui2/email.py", line 49, in run File "calibre/gui2/email.py", line 133, in sendmail File "calibre/utils/smtp.py", line 171, in sendmail File "polyglot/smtplib.py", line 49, in __init__ File "smtplib.py", line 1034, in __init__ File "smtplib.py", line 256, in __init__ smtplib.SMTPConnectError: (-1, b'IMAP4 ready') Called with args: ('/tmp/calibre_5.32.0_tmp_7svmciw1/ic8w5hvjcaltmpfmt.EPUB', 'Foundation 1 - Foundation - Asimov, Isaac.EPUB', 'essin@ieee,org', 'Book', 'Attached, you will find the e-book\n\nFoundation 1 - Foundation\n\tby Asimov, Isaac\n\nin the EPUB format.') {'notifications': <queue.Queue object at 0x7fc91ed2d880>, 'abort': <threading.Event object at 0x7fc91ed2da00>, 'log': <calibre.utils.logging.GUILog object at 0x7fc91ed2dbe0>} |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,253
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
there is no difference in the email sending code on windows and linux. According to that error attempts to connect to the mail server are return a code of -1 instead of 200, causing the failure. Why that might be, I have no clue.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 515
Karma: 2268308
Join Date: Nov 2015
Device: none
|
You are connecting to an IMAP server instead of SMTP one. Check your settings.
|
![]() |
![]() |
![]() |
#4 |
Zealot
![]() Posts: 109
Karma: 10
Join Date: Feb 2011
Device: Nook - Simple Touch
|
That’s probably the problem. Thanks for pointing it out.
|
![]() |
![]() |
![]() |
Tags |
share ebooks |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Adding a shortcut to [Send via email to my Kindle email address]? | jteodoro | Calibre | 7 | 04-30-2020 10:55 AM |
Unable to send via email, manually or send to device | Colc | Calibre | 3 | 11-16-2019 01:44 AM |
Send via Email no functioning | ellie0303 | Devices | 1 | 12-07-2018 11:58 AM |
Can't send email in 2.20 | Dune1411 | Calibre | 5 | 03-04-2015 07:40 PM |
Can't send email | janvangastel | enTourage Archive | 10 | 08-17-2010 05:15 AM |