我正在尝试使用Caliber将Linux Mint desktio的一些电子书发送给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': }
使用以下设置通过口径发送测试电子邮件: “从以下地址发送电子邮件:” 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)
这里完全茫然。有见识吗?
答案 0 :(得分:0)
您似乎正在尝试使用Gmail帐户发送电子邮件。
据我了解,Google不允许客户端通过端口25(通常为未加密的SMTP保留)进行连接。
在关于第三方电子邮件客户端设置的Gmail Help article上,他们指示将端口 587 与SSL和TLS一起使用(我不确定Caliber是否支持这些设置)。
除此之外,您还需要:
允许Less Secure Apps访问您的Google帐户(如果您启用了2要素身份验证,此功能将无效)。