2

我正在尝试使用 Calibre 将一些电子书从我的 Linux Mint 桌面发送到我的 Kindle Paperwhite,但出现错误:

Starting job: Email Counter-Clock World to  me@free.kindle.com 

Sending failed...

Traceback (most recent call last):
  File "site-packages/calibre/gui2/email.py", line 45, in run
  File "site-packages/calibre/gui2/email.py", line 135, in sendmail
  File "site-packages/calibre/utils/smtp.py", line 137, in sendmail
  File "site-packages/calibre/utils/smtp.py", line 129, in sendmail_direct
IOError: Failed to send mail: error(110, 'Connection timed out')


Retrying in 1 seconds...

Waiting 1 seconds before sending, to avoid being marked as spam.
You can control this delay via Preferences->Tweaks 

Sending failed...

Traceback (most recent call last):
  File "site-packages/calibre/gui2/email.py", line 45, in run
  File "site-packages/calibre/gui2/email.py", line 135, in sendmail
  File "site-packages/calibre/utils/smtp.py", line 137, in sendmail
  File "site-packages/calibre/utils/smtp.py", line 129, in sendmail_direct
IOError: Failed to send mail: error(110, 'Connection timed out')

Job: "Email Counter-Clock World to  me@free.kindle.com" failed with error: 
Traceback (most recent call last):
  File "site-packages/calibre/gui2/threaded_jobs.py", line 83, in start_work
  File "site-packages/calibre/gui2/email.py", line 102, in __call__
IOError: Failed to send mail: error(110, 'Connection timed out')

Called with args: (u'/tmp/calibre_3.44.0_tmp_RREYM4/VDbQlzcaltmpfmt.mobi', u'Counter-Clock World - Philip K. Dick.mobi', u' me@free.kindle.com', u'E-book: Counter-Clock World', u'Attached, you will find the e-book\n\nCounter-Clock World\n\tby Philip K. Dick\n\nin the MOBI format.') {u'abort': , u'notifications': , u'log': }

使用以下设置通过 calibre 发送测试电子邮件:“发送电子邮件来自:”blah@blah.com(此地址被我的亚马逊帐户识别)“主机名:”smtp.gmail.com“端口:”25“用户名:” myemail@gmail.com "密码:" 正确密码 "加密:" SSL

并得到了错误

Traceback (most recent call last):
  File "site-packages/calibre/gui2/wizard/send_email.py", line 209, in test_email_settings
  File "site-packages/calibre/utils/smtp.py", line 149, in sendmail
  File "site-packages/calibre/utils/smtplib.py", line 338, in connect
  File "site-packages/calibre/utils/smtplib.py", line 830, in _get_socket
  File "socket.py", line 575, in create_connection
error: [Errno 101] Network is unreachable


Log:
connect: (u'smtp.gmail.com', 25)
connect: (u'smtp.gmail.com', 25)

在这里完全不知所措。有什么见解吗?

4

1 回答 1

0

您似乎正在尝试使用 Gmail 帐户发送电子邮件。

据我了解,Google 不允许客户端通过端口 25 进行连接(通常为未加密的 SMTP 保留)。

在他们关于第三方电子邮件客户端设置的Gmail 帮助文章中,他们指示将端口587与 SSL 和 TLS 一起使用(我不确定 Calibre 是否支持这些设置)。

除此之外,您还需要:

于 2020-04-19T22:19:33.980 回答