Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 11-11-2021, 11:10 PM   #1
Dan__
Zealot
Dan__ began at the beginning.
 
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>}
Dan__ is offline   Reply With Quote
Old 11-11-2021, 11:19 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
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.
kovidgoyal is offline   Reply With Quote
Advert
Old 11-12-2021, 12:46 AM   #3
Sarmat89
Fanatic
Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.
 
Posts: 515
Karma: 2268308
Join Date: Nov 2015
Device: none
You are connecting to an IMAP server instead of SMTP one. Check your settings.
Sarmat89 is offline   Reply With Quote
Old 11-12-2021, 02:36 AM   #4
Dan__
Zealot
Dan__ began at the beginning.
 
Posts: 109
Karma: 10
Join Date: Feb 2011
Device: Nook - Simple Touch
That’s probably the problem. Thanks for pointing it out.
Dan__ is offline   Reply With Quote
Reply

Tags
share ebooks


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 03:49 PM.


MobileRead.com is a privately owned, operated and funded community.