Calibre 使用教程之通过邮箱一键推送 Kindle 电子书
Kindle 伴侣在之前曾经写过一个教程《通过电子邮箱附件推送文档到Kindle》,内容是手动用电子邮箱推送电子书到 Kindle,本文将要介绍的用 Calibre 推送的方式可以让推送过程更方便。
跟着下面的步骤简单的设置以下就可以享受便捷的一键推送了。
一、推送设置及推送步骤
在开始下面步骤之前请确保你有一个电子邮箱并且你的Kindle设备已经和你的亚马逊账号进行了绑定。如果没有亚马逊账号请点击这里(亚马逊中国)或点击这里(美国亚马逊)先自行注册。详细步骤可参考《通过电子邮箱附件推送文档到Kindle》。
1、下载安装 Calibre
Calibre 支持多种操作系统,你可以下载与你所使用的操作系统想对应的版本:
下载 Calibre:https://bookfere.com/tools#calibre
2、添加接收邮箱
点击“首选项”图标,找到“分享”分类,点击“通过邮件分享”。在弹出的对话框中点击右边的【添加邮件地址】按钮,填入和你的Kindle设备绑定的推送接收邮箱(可添加多个)。接收推送的邮箱可以在【管理我的内容和设备】中的【我的设备】选项卡页面找到。
注意,现在 Kindle 已支持推送 EPUB 格式,为了避免在推送时电子书被 Calibre 自动转换成 MOBI 格式,需要在添加邮件地址时,将“格式”那一栏中的 MOBI 删掉,仅保留 EPUB。
▲ 将格式更改为 EPUB 以避免自动转换 MOBI 格式
3、填写推送邮箱
在下面的“发信人地址”中填写你的电子邮箱。注意请确保该邮箱已经添加到亚马逊官网 Kindle 管理后台的【设置】页面中的“已认可的发件人电子邮箱列表”中(这一项在设置页面底部)。
4、配置邮箱服务器
如果你用的是 Gmail 邮箱,直接点右边相应的图标填写你的邮箱地址及用户名密码即可,软件将会自动为你填写主机名和端口。如果使用其他的邮箱请自行填写邮箱服务器设置并填入你的邮箱用户名和密码。常见的几个邮箱服务器如下:
服务商 | 主机名 | 端口 | 加密类型 | 备注 |
---|---|---|---|---|
Gmail | smtp.gmail.com | 465 587 |
SSL TLS |
* 中国网络需要使用网络代理(VPN) * 必须开启两步验证并使用生成的应用密码 |
163 | smtp.163.com | 465 587 |
SSL | * 新注册邮箱可能无法立即使用 * 密码请使用授权码而非登录密码 * 频繁发信可能会被禁用 SMTP |
126 | smtp.126.com | 465 587 |
SSL | |
Yeah | smtp.yeah.net | 465 587 |
SSL | |
smtp.qq.com | 465 | SSL | * 密码请使用授权码而非登录密码 |
* 提示 1: 一定要确保填写的端口是正确的,不要把 465 写成 465,或 587 写成 578等。
* 提示 2: 以上列出的邮箱附件大小最大限制,除 Gmail 是 25MB 外皆为 50MB。
邮件参数填写效果如下:
5、测试发送邮件
全部设置完毕后点击右下角的“测试邮件发送”按钮,会出现“该操作会在屏幕上明文显示你的电子邮件地址密码。要继续吗?”的提示,点击“是”会弹出一个测试对话框,点击“测试”按钮,如果显示框出现“邮件已发出”即表示设置成功,否则请检查设置重试。点击“确定”按钮退出该对话框。点击左上角的“应用”按钮保存刚才的设置,结束设置。
* 测试邮件发出后不久,亚马逊Kindle客服的自动回复系统会向你的推送邮箱发送一封主题为“你发送至Kindle的邮件未附任何文件附件”的提示邮件,请忽略。
6、一键推送图书
回到主界面书库,选择一个或多个电子书,右键点击所选电子书,在弹出的菜单里将鼠标指针悬浮到“连接/共享”,在弹出的子菜单中点击“发送右键至***@kindle.cn”(***@kindle.cn 就是第2步填写的那个邮箱),就可以直接把这些电子书发送到你亚马逊账户中的【我的内容】中了。
当我们将 EPUB 等格式的电子书转换成 MOBI 格式后,只需要通过右键菜单就可以将转换后的电子书推送到亚马逊的云端了,是不是很方便。快来试试吧!
二、问题排查及常见错误
如果你无法推送成功,请仔细检查“发信人地址”和邮件服务器中的“用户名”是否都是“xxx@xxx.com”这样的格式,比如你的邮件是“ test@simple.com”,那么设置中的“用户名”和“发信地址”都应该填写“test@simple.com”,“用户名”不能只填写“test”,“发信地址”也不能只填写“@simple.com”。
另外还需要检查端口是否填写正确,一般邮箱可选择“加密”类型为 SSL,端口号应该填写 465 或 587;Gmail 的“加密”类型为 TLS,端口号为 587。
如果设置完成后,测试推送或推送电子书时出现以下错误,可以参考以下相应的解决办法:
1、错误提示之一
SMTPAuthenticationError: (550, ‘\xd3\xc3\xbb\xa7\xb1\xbb\xcb\xf8\xb6\xa8′)
【解决办法】
错误提示中的“乱码”意思是“用户被锁定”。如果你的 163 邮箱是新注册账号,可能会出现这个这是因为 163 邮箱为防止 SMTP 外泄和滥用,默认没有开启客户端 SMTP 功能。开通 SMTP 需要先进入【设置】页面,在侧边找到【POP3/SMTP/IMAP】这一项,把“开启SMTP邮件”这一项勾选上(注意这里需要手机验证)即可正常使用。
2、错误提示之二
SMTPAuthenticationError: (454, ‘Authentication failed, please open smtp flag first!’)
SMTPAuthenticationError: (535, ‘Error: authentication failed’)
【解决办法】
如果你的 QQ 邮箱出现该错误,请先进入该邮箱的网页版,进入邮箱的【设置】页面,找到“POP3/IMAP/SMTP/Exchange/CardDAV/CalDAV服务”这一项,把其中的“POP3/SMTP服务”开启即可正常使用。
如果你使用的是 163 邮箱,请登陆网页版邮箱,进入【设置】页面,在侧边找到【POP3/SMTP/IMAP】这一项,把“开启SMTP邮件”这一项勾选上(注意这里可能需要手机验证)。
3、错误提示之三
SMTPServerDisconnected: Connection unexpectedly closed
解决办法:
这是因为 QQ 邮箱自身原因,请转用其他如 163 邮箱。
4、错误提示之四
reply: ‘535 Error: authentication failed\r\n’
reply: retcode (535); Msg: Error: authentication failed
【解决办法】
请检查下邮箱设置中“客户端授权密码”有没有被开启?如果此功能已开启,则需要使用授权密码而不是邮箱登录密码。
5、错误提示之五
554 DT:SPM
【解决办法】
此错误常出现在 163 邮箱,官方说明为:554 DT:SPM 发送的邮件内容包含了未被许可的信息,或被系统识别为垃圾邮件。请检查是否有用户发送病毒或者垃圾邮件。可能由于大量发送邮件导致的,如果遇到此错误请更换其他邮箱。
6、错误提示之六
500 Error: bad syntax\r\n
5.5.4 Invalid domain name
【解决办法】
Windows 下可能会出现此错误,这可能是因为网络属性中的“连接特定的 DNS 后缀”值带有空格导致的。在“控制版面”中打开“网络和共享中心”,点击现在使用的网络连接,然后点击【详细信息】查看“连接特定的 DNS 后缀”的值,看是否带有空格,如果有则需要修改一下。具体步骤为:点击【属性】按钮,双击“Internet 协议版本 4(TCP/IPv4)”这一项,再点击【高级】按钮,切换到“DNS”标签,把“此连接的 DNS 后缀”清空或修改为 HOST,依次确认保存。至此问题可得到解决。via
更详细的操作步骤参见《解决 Calibre 推送“500 Error: bad syntax”错误》这篇文章。
7、错误提示之七
error: [Errno 10060]
【解决办法】
错误提示无法建立连接。检查一下你的电脑是否使用了网络代理,或者有防火墙、病毒软件之类的阻止了 SMTP 的连接。
8、错误提示之八
SMTPSenderRefused: (553, ‘Mail from must equal authorized user’, u’1584624613@qq.com’)
【解决办法】
SMTP 服务器拒绝的原因是发信邮箱和发信人名称不一致。假设你使用的是 163 邮箱,如果你的发信邮箱是 example@163.com,那么发信人名称也应该是 example@163.com,而不是 example,更不能是其它邮箱地址。简单说就是直接用你的 Email 做用户名就可以了。
9、错误提示之九
File “ssl.py”, line 828, in do_handshake
error: [Errno 10054]
或者
File “socket.py”, line 575, in create_connection
error: [Errno 10060]
【解决办法】
错误提示无法建立连接。由于每个人的电脑环境不同,出现此问题的原因可能也不尽相同,建议检查一下你的电脑是否使用了网络代理,或者有防火墙、病毒软件之类的阻止了 SMTP 的连接。
10、错误提示之十
smtplib.SMTPDataError: (554, b’DT:SPM 163 smtp12,EMCowABXfZ1YQGphxxyIEQ–.191S2 1634353251,please see http://mail.163.com/help/help_spam_16.htm?ip=127.0.0.1&hostid=smtp12&time=1634353251′)
【解决办法】
此问题常见于 163 邮箱。错误提示中给出了错误代码 554 和“退信代码说明”页面链接,根据说明的显示,引发此问题的原因为:
554 DT:SPM 发送的邮件内容包含了未被许可的信息,或被系统识别为垃圾邮件。请检查是否有用户发送病毒或者垃圾邮件
这可能是某些行为触发了 163 邮箱设定的限制规则,它没有给出更具体的说明。最快的解决方法是换一个邮箱,建议选择 Gmail 等限制没那么多的邮箱。
11、错误提示之十一
OSError: Failed to send mail: SMTPRecipientsRefused({'xxx@kindle.com': (550, b'5.7.1 IP address blacklisted by recipient')})
【解决办法】
此错误的原因是发送邮件的 IP 地址被接收方列为黑名单。如果你没有使用邮箱服务商提供的 SMTP,建议根据邮箱服务商提供的 SMTP 信息正确设置 SMTP 服务器。如果你使用的是邮箱服务商提供的 SMTP,可以换其他邮箱服务商试试看。
三、解决显示拼音书名问题
通过亚马逊 Send to Kindle 服务提供的五种方式推送到 Kindle 的电子书会显示为推送时的文件名,而 Calibre 会自动将电子书的文件名从中文书名转换成拼音书名,并且未提供相关的设置,因此只要通过其内置的邮件功能推送电子书,发送到 Kindle 后都会显示拼音书名。
你可以为 Calibre 安装一款由书伴开发的名为 Send to Kindle 的插件来解决这个问题,详情请移步《如何解决 Calibre 推送中文书到 Kindle 显示拼音书名问题》。
© 「书伴」原创文章,转载请注明出处及原文链接:https://bookfere.com/post/11.html
“Calibre教程”相关阅读
- 如何把 KFX 格式转换成 MOBI 等其它电子书格式
- 把 TXT 文档转换成带目录的 MOBI 格式电子书
- Calibre 使用教程之为 Kindle 电子书添加页码
- Calibre 常用命令行工具详解之 calibre-smtp
- Calibre 使用教程之转换电子书格式
- 如何用 Calibre 和 Count Pages 插件统计电子书的字数和页数
- 用 GitHub Actions 让 Calibre 定时推送新闻到 Kindle
- Calibre 常用命令行工具详解之 ebook-meta
- 解决 Calibre 推送“500 Error: bad syntax”错误
- Calibre 使用教程之抓取网站页面制成电子书
- 如何解决 kindle 电子书字体颜色浅淡的问题
- 解决依赖内嵌字体才能正常显示的电子书乱码问题
- Calibre 常用命令行工具详解之 ebook-convert
- Calibre使用教程之为电子书添加或修改封面
- Calibre 使用教程之批量获取电子书元数据
好棒的文章啊,详细,很用心,谢谢作者~
您好!请问这是由于什么原因呢?一直不成功。麻烦您啦~
calibre, version 3.37.0 (win32, embedded-python: True)
无法通过电子邮件发送书籍: 失败: 把 中式英语之鉴(图文版) 发Email到 8618340096560@kindle.cn
Starting job: 把 中式英语之鉴(图文版) 发Email到 8618340096560@kindle.cn
connect: (u’smtp-mail.outlook.com’, 587)
connect: (u’smtp-mail.outlook.com’, 587)
reply: ‘220 HK2PR0401CA0009.outlook.office365.com Microsoft ESMTP MAIL Service ready at Sat, 12 Jan 2019 09:11:13 +0000\r\n’
reply: retcode (220); Msg: HK2PR0401CA0009.outlook.office365.com Microsoft ESMTP MAIL Service ready at Sat, 12 Jan 2019 09:11:13 +0000
connect: HK2PR0401CA0009.outlook.office365.com Microsoft ESMTP MAIL Service ready at Sat, 12 Jan 2019 09:11:13 +0000
send: ‘ehlo LAPTOP-J0CB0G8I.SDNU\r\n’
reply: ‘250-HK2PR0401CA0009.outlook.office365.com Hello [223.99.197.196]\r\n’
reply: ‘250-SIZE 157286400\r\n’
reply: ‘250-PIPELINING\r\n’
reply: ‘250-DSN\r\n’
reply: ‘250-ENHANCEDSTATUSCODES\r\n’
reply: ‘250-STARTTLS\r\n’
reply: ‘250-8BITMIME\r\n’
reply: ‘250-BINARYMIME\r\n’
reply: ‘250-CHUNKING\r\n’
reply: ‘250 SMTPUTF8\r\n’
reply: retcode (250); Msg: HK2PR0401CA0009.outlook.office365.com Hello [223.99.197.196]
SIZE 157286400
PIPELINING
DSN
ENHANCEDSTATUSCODES
STARTTLS
8BITMIME
BINARYMIME
CHUNKING
SMTPUTF8
send: ‘STARTTLS\r\n’
reply: ‘220 2.0.0 SMTP server ready\r\n’
reply: retcode (220); Msg: 2.0.0 SMTP server ready
send: ‘ehlo LAPTOP-J0CB0G8I.SDNU\r\n’
reply: ‘250-HK2PR0401CA0009.outlook.office365.com Hello [223.99.197.196]\r\n’
reply: ‘250-SIZE 157286400\r\n’
reply: ‘250-PIPELINING\r\n’
reply: ‘250-DSN\r\n’
reply: ‘250-ENHANCEDSTATUSCODES\r\n’
reply: ‘250-AUTH LOGIN XOAUTH2\r\n’
reply: ‘250-8BITMIME\r\n’
reply: ‘250-BINARYMIME\r\n’
reply: ‘250-CHUNKING\r\n’
reply: ‘250 SMTPUTF8\r\n’
reply: retcode (250); Msg: HK2PR0401CA0009.outlook.office365.com Hello [223.99.197.196]
SIZE 157286400
PIPELINING
DSN
ENHANCEDSTATUSCODES
AUTH LOGIN XOAUTH2
8BITMIME
BINARYMIME
CHUNKING
SMTPUTF8
send: AUTH
reply: ‘334 UGFzc3dvcmQ6\r\n’
reply: retcode (334); Msg: UGFzc3dvcmQ6
send: ‘d3d3LjE5OTgxMjA3\r\n’
reply: ‘235 2.7.0 Authentication successful\r\n’
reply: retcode (235); Msg: 2.7.0 Authentication successful
send: u’mail FROM: size=1015366\r\n’
reply: ‘250 2.1.0 Sender OK\r\n’
reply: retcode (250); Msg: 2.1.0 Sender OK
send: u’rcpt TO:\r\n’
reply: ‘250 2.1.5 Recipient OK\r\n’
reply: retcode (250); Msg: 2.1.5 Recipient OK
send: ‘data\r\n’
reply: ‘354 Start mail input; end with .\r\n’
reply: retcode (354); Msg: Start mail input; end with .
data: (354, ‘Start mail input; end with .’)
send: ‘Content-Type: multipart/mixed; boundary=”===============2050231355==”\r\nMIME-Version: 1.0\r\nSubje…
reply: ‘554 5.2.0 STOREDRV.Submission.Exception:OutboundSpamException; Failed to process message due to a permanent exception with message WASCL UserAction verdict is not None. Actual verdict is HipNotify, ShowTierUpgrade. OutboundSpamException: WASCL UserAction verdict is not None. Actual verdict is HipNotify, ShowTierUpgrade. [Hostname=DM5PR14MB1660.namprd14.prod.outlook.com]\r\n’
reply: retcode (554); Msg: 5.2.0 STOREDRV.Submission.Exception:OutboundSpamException; Failed to process message due to a permanent exception with message WASCL UserAction verdict is not None. Actual verdict is HipNotify, ShowTierUpgrade. OutboundSpamException: WASCL UserAction verdict is not None. Actual verdict is HipNotify, ShowTierUpgrade. [Hostname=DM5PR14MB1660.namprd14.prod.outlook.com]
data: (554, ‘5.2.0 STOREDRV.Submission.Exception:OutboundSpamException; Failed to process message due to a permanent exception with message WASCL UserAction verdict is not None. Actual verdict is HipNotify, ShowTierUpgrade. OutboundSpamException: WASCL UserAction verdict is not None. Actual verdict is HipNotify, ShowTierUpgrade. [Hostname=DM5PR14MB1660.namprd14.prod.outlook.com]’)
send: ‘rset\r\n’
reply: ‘250 2.0.0 Resetting\r\n’
reply: retcode (250); Msg: 2.0.0 Resetting
send: ‘quit\r\n’
reply: ‘221 2.0.0 Service closing transmission channel\r\n’
reply: retcode (221); Msg: 2.0.0 Service closing transmission channel
Sending failed…
Traceback (most recent call last):
File “site-packages\calibre\gui2\email.py”, line 44, in run
File “site-packages\calibre\gui2\email.py”, line 134, in sendmail
File “site-packages\calibre\utils\smtp.py”, line 162, in sendmail
File “site-packages\calibre\utils\smtplib.py”, line 780, in sendmail
SMTPDataError: (554, ‘5.2.0 STOREDRV.Submission.Exception:OutboundSpamException; Failed to process message due to a permanent exception with message WASCL UserAction verdict is not None. Actual verdict is HipNotify, ShowTierUpgrade. OutboundSpamException: WASCL UserAction verdict is not None. Actual verdict is HipNotify, ShowTierUpgrade. [Hostname=DM5PR14MB1660.namprd14.prod.outlook.com]’)
Retrying in 1 seconds…
Waiting 1 seconds before sending, to avoid being marked as spam.
You can control this delay via Preferences->Tweaks
connect: (u’smtp-mail.outlook.com’, 587)
connect: (u’smtp-mail.outlook.com’, 587)
reply: ‘220 HK2PR02CA0133.outlook.office365.com Microsoft ESMTP MAIL Service ready at Sat, 12 Jan 2019 09:11:22 +0000\r\n’
reply: retcode (220); Msg: HK2PR02CA0133.outlook.office365.com Microsoft ESMTP MAIL Service ready at Sat, 12 Jan 2019 09:11:22 +0000
connect: HK2PR02CA0133.outlook.office365.com Microsoft ESMTP MAIL Service ready at Sat, 12 Jan 2019 09:11:22 +0000
send: ‘ehlo LAPTOP-J0CB0G8I.SDNU\r\n’
reply: ‘250-HK2PR02CA0133.outlook.office365.com Hello [223.99.197.196]\r\n’
reply: ‘250-SIZE 157286400\r\n’
reply: ‘250-PIPELINING\r\n’
reply: ‘250-DSN\r\n’
reply: ‘250-ENHANCEDSTATUSCODES\r\n’
reply: ‘250-STARTTLS\r\n’
reply: ‘250-8BITMIME\r\n’
reply: ‘250-BINARYMIME\r\n’
reply: ‘250-CHUNKING\r\n’
reply: ‘250 SMTPUTF8\r\n’
reply: retcode (250); Msg: HK2PR02CA0133.outlook.office365.com Hello [223.99.197.196]
SIZE 157286400
PIPELINING
DSN
ENHANCEDSTATUSCODES
STARTTLS
8BITMIME
BINARYMIME
CHUNKING
SMTPUTF8
send: ‘STARTTLS\r\n’
reply: ‘220 2.0.0 SMTP server ready\r\n’
reply: retcode (220); Msg: 2.0.0 SMTP server ready
send: ‘ehlo LAPTOP-J0CB0G8I.SDNU\r\n’
reply: ‘250-HK2PR02CA0133.outlook.office365.com Hello [223.99.197.196]\r\n’
reply: ‘250-SIZE 157286400\r\n’
reply: ‘250-PIPELINING\r\n’
reply: ‘250-DSN\r\n’
reply: ‘250-ENHANCEDSTATUSCODES\r\n’
reply: ‘250-AUTH LOGIN XOAUTH2\r\n’
reply: ‘250-8BITMIME\r\n’
reply: ‘250-BINARYMIME\r\n’
reply: ‘250-CHUNKING\r\n’
reply: ‘250 SMTPUTF8\r\n’
reply: retcode (250); Msg: HK2PR02CA0133.outlook.office365.com Hello [223.99.197.196]
SIZE 157286400
PIPELINING
DSN
ENHANCEDSTATUSCODES
AUTH LOGIN XOAUTH2
8BITMIME
BINARYMIME
CHUNKING
SMTPUTF8
send: AUTH
reply: ‘334 UGFzc3dvcmQ6\r\n’
reply: retcode (334); Msg: UGFzc3dvcmQ6
send: ‘d3d3LjE5OTgxMjA3\r\n’
reply: ‘235 2.7.0 Authentication successful\r\n’
reply: retcode (235); Msg: 2.7.0 Authentication successful
send: u’mail FROM: size=1015366\r\n’
reply: ‘250 2.1.0 Sender OK\r\n’
reply: retcode (250); Msg: 2.1.0 Sender OK
send: u’rcpt TO:\r\n’
reply: ‘250 2.1.5 Recipient OK\r\n’
reply: retcode (250); Msg: 2.1.5 Recipient OK
send: ‘data\r\n’
reply: ‘354 Start mail input; end with .\r\n’
reply: retcode (354); Msg: Start mail input; end with .
data: (354, ‘Start mail input; end with .’)
send: ‘Content-Type: multipart/mixed; boundary=”===============1575103124==”\r\nMIME-Version: 1.0\r\nSubje…
reply: ‘554 5.2.0 STOREDRV.Submission.Exception:OutboundSpamException; Failed to process message due to a permanent exception with message WASCL UserAction verdict is not None. Actual verdict is HipNotify, ShowTierUpgrade. OutboundSpamException: WASCL UserAction verdict is not None. Actual verdict is HipNotify, ShowTierUpgrade. [Hostname=DM5PR14MB1660.namprd14.prod.outlook.com]\r\n’
reply: retcode (554); Msg: 5.2.0 STOREDRV.Submission.Exception:OutboundSpamException; Failed to process message due to a permanent exception with message WASCL UserAction verdict is not None. Actual verdict is HipNotify, ShowTierUpgrade. OutboundSpamException: WASCL UserAction verdict is not None. Actual verdict is HipNotify, ShowTierUpgrade. [Hostname=DM5PR14MB1660.namprd14.prod.outlook.com]
data: (554, ‘5.2.0 STOREDRV.Submission.Exception:OutboundSpamException; Failed to process message due to a permanent exception with message WASCL UserAction verdict is not None. Actual verdict is HipNotify, ShowTierUpgrade. OutboundSpamException: WASCL UserAction verdict is not None. Actual verdict is HipNotify, ShowTierUpgrade. [Hostname=DM5PR14MB1660.namprd14.prod.outlook.com]’)
send: ‘rset\r\n’
reply: ‘250 2.0.0 Resetting\r\n’
reply: retcode (250); Msg: 2.0.0 Resetting
send: ‘quit\r\n’
reply: ‘221 2.0.0 Service closing transmission channel\r\n’
reply: retcode (221); Msg: 2.0.0 Service closing transmission channel
Sending failed…
Traceback (most recent call last):
File “site-packages\calibre\gui2\email.py”, line 44, in run
File “site-packages\calibre\gui2\email.py”, line 134, in sendmail
File “site-packages\calibre\utils\smtp.py”, line 162, in sendmail
File “site-packages\calibre\utils\smtplib.py”, line 780, in sendmail
SMTPDataError: (554, ‘5.2.0 STOREDRV.Submission.Exception:OutboundSpamException; Failed to process message due to a permanent exception with message WASCL UserAction verdict is not None. Actual verdict is HipNotify, ShowTierUpgrade. OutboundSpamException: WASCL UserAction verdict is not None. Actual verdict is HipNotify, ShowTierUpgrade. [Hostname=DM5PR14MB1660.namprd14.prod.outlook.com]’)
Job: “把 中式英语之鉴(图文版) 发Email到 8618340096560@kindle.cn” failed with error:
Traceback (most recent call last):
File “site-packages\calibre\gui2\threaded_jobs.py”, line 84, in start_work
File “site-packages\calibre\gui2\email.py”, line 101, in __call__
SMTPDataError: (554, ‘5.2.0 STOREDRV.Submission.Exception:OutboundSpamException; Failed to process message due to a permanent exception with message WASCL UserAction verdict is not None. Actual verdict is HipNotify, ShowTierUpgrade. OutboundSpamException: WASCL UserAction verdict is not None. Actual verdict is HipNotify, ShowTierUpgrade. [Hostname=DM5PR14MB1660.namprd14.prod.outlook.com]’)
Called with args: (u’C:\\Users\\pc\\AppData\\Local\\Temp\\calibre_gkga2u\\hv0wszcaltmpfmt.mobi’, u’Zhong Shi Ying Yu Zhi Jian (Tu Wen Ban ) – Ping Qia Mu.mobi’, u’8618340096560@kindle.cn’, u’\u7535\u5b50\u4e66\uff1a \u4e2d\u5f0f\u82f1\u8bed\u4e4b\u9274(\u56fe\u6587\u7248)’, u’\u5df2\u6dfb\u52a0, \u4f60\u53ef\u4ee5\u4ece\u4e2d\u83b7\u53d6\u7535\u5b50\u4e66\n\n\u4e2d\u5f0f\u82f1\u8bed\u4e4b\u9274(\u56fe\u6587\u7248)\n\t\u7531 \u5e73\u5361\u59c6\n\n\u4f7f\u7528 MOBI \u683c\u5f0f.’) {u’log’: , u’notifications’: , u’abort’: }
登录你的 Outlook 邮箱,查看一下是否有一封安全验证邮件?如果有的话,你可能需要验证一下才能用 SMTP 发邮件。
可以啦!非常感谢!
SMTPAuthenticationError: (550, ‘User has no permission’)这是怎么回事呢?
应该是账户密码不正确。注意如果是 163 或 QQ 邮箱需要使用授权码而不是登录密码。
换了163邮箱,未使用网络代理,也试过关闭防火墙,但仍出现以下问题:
Traceback (most recent call last):
File “site-packages\calibre\gui2\wizard\send_email.py”, line 207, in test_email_settings
File “site-packages\calibre\utils\smtp.py”, line 148, in sendmail
File “site-packages\calibre\utils\smtplib.py”, line 336, in connect
File “site-packages\calibre\utils\smtplib.py”, line 833, in _get_socket
File “socket.py”, line 557, in create_connection
gaierror: [Errno 11001] getaddrinfo failed
Log:
connect: (u’smtp.qq.com’, 465)
connect: (u’smtp.qq.com’, 465)
打开命令提示符或终端,输入
ping smtp.qq.com
看是否有反应?好的,问题已解决!非常感谢!
不知道该如何解决,谢谢!
Traceback (most recent call last):
File “site-packages\calibre\gui2\wizard\send_email.py”, line 207, in test_email_settings
File “site-packages\calibre\utils\smtp.py”, line 162, in sendmail
File “site-packages\calibre\utils\smtplib.py”, line 780, in sendmail
SMTPDataError: (554, ‘DT:SPM 126 smtp4,jdKowAAHt5TpBfxbvLfUAA–.8S2 1543243244,please see http://mail.163.com/help/help_spam_16.htm?ip=123.139.40.189&hostid=smtp4&time=1543243244′)
Log:
connect: (u’smtp.126.com’, 465)
connect: (u’smtp.126.com’, 465)
reply: ‘220 126.com Anti-spam GT for Coremail System (126com[20140526])\r\n’
reply: retcode (220); Msg: 126.com Anti-spam GT for Coremail System (126com[20140526])
connect: 126.com Anti-spam GT for Coremail System (126com[20140526])
send: ‘ehlo [172.16.207.236]\r\n’
reply: ‘250-mail\r\n’
reply: ‘250-PIPELINING\r\n’
reply: ‘250-AUTH LOGIN PLAIN\r\n’
reply: ‘250-AUTH=LOGIN PLAIN\r\n’
reply: ‘250-coremail 1Uxr2xKj7kG0xkI17xGrU7I0s8FY2U3Uj8Cz28x1UUUUU7Ic2I0Y2UrRCBOyUCa0xDrUUUUj\r\n’
reply: ‘250-STARTTLS\r\n’
reply: ‘250 8BITMIME\r\n’
reply: retcode (250); Msg: mail
PIPELINING
AUTH LOGIN PLAIN
AUTH=LOGIN PLAIN
coremail 1Uxr2xKj7kG0xkI17xGrU7I0s8FY2U3Uj8Cz28x1UUUUU7Ic2I0Y2UrRCBOyUCa0xDrUUUUj
STARTTLS
8BITMIME
send: ‘AUTH PLAIN AHpiODUxMTIyAFpiODUxMTIy\r\n’
reply: ‘235 Authentication successful\r\n’
reply: retcode (235); Msg: Authentication successful
send: u’mail FROM:\r\n’
reply: ‘250 Mail OK\r\n’
reply: retcode (250); Msg: Mail OK
send: u’rcpt TO:\r\n’
reply: ‘250 Mail OK\r\n’
reply: retcode (250); Msg: Mail OK
send: ‘data\r\n’
reply: ‘354 End data with .\r\n’
reply: retcode (354); Msg: End data with .
data: (354, ‘End data with .’)
send: ‘Content-Type: multipart/mixed; boundary=”===============0394782860==”\r\nMIME-Version: 1.0\r\nSubject: Test mail from calibre\r\nTo: 8615929969550_bd9fe6@kindle.cn\r\nFrom: zb851122@126.com\r\nDate: Mon, 26 Nov 2018 22:41:02 +0800\r\nMessage-Id: \r\n\r\nYou will not see this in a MIME-aware mail reader.\r\n\r\n–===============0394782860==\r\nContent-Type: text/plain; charset=”us-ascii”\r\nMIME-Version: 1.0\r\nContent-Transfer-Encoding: 7bit\r\n\r\nTest mail from calibre\r\n–===============0394782860==–\r\n.\r\n’
reply: ‘554 DT:SPM 126 smtp4,jdKowAAHt5TpBfxbvLfUAA–.8S2 1543243244,please see http://mail.163.com/help/help_spam_16.htm?ip=123.139.40.189&hostid=smtp4&time=1543243244\r\n’
reply: retcode (554); Msg: DT:SPM 126 smtp4,jdKowAAHt5TpBfxbvLfUAA–.8S2 1543243244,please see http://mail.163.com/help/help_spam_16.htm?ip=123.139.40.189&hostid=smtp4&time=1543243244
data: (554, ‘DT:SPM 126 smtp4,jdKowAAHt5TpBfxbvLfUAA–.8S2 1543243244,please see http://mail.163.com/help/help_spam_16.htm?ip=123.139.40.189&hostid=smtp4&time=1543243244’)
send: ‘rset\r\n’
reply: ‘250 OK\r\n’
reply: retcode (250); Msg: OK
send: ‘quit\r\n’
reply: ‘221 Bye\r\n’
reply: retcode (221); Msg: Bye
这是被邮箱判断为垃圾邮件了。请参考本文 “错误的排查及解决方法”中的第五条。
请问,测试邮件时没问题,但是邮件发书时进度一直是不可用,是哪里出错了?
Starting job: 把 【精品汇-331】施展·中国史纲50讲(完整版) 发Email到 2393635310@kindle.cn
connect: (u’smtp.163.com’, 465)
connect: (u’smtp.163.com’, 465)
reply: ‘220 163.com Anti-spam GT for Coremail System (163com[20141201])\r\n’
reply: retcode (220); Msg: 163.com Anti-spam GT for Coremail System (163com[20141201])
connect: 163.com Anti-spam GT for Coremail System (163com[20141201])
send: ‘ehlo [192.168.18.105]\r\n’
reply: ‘250-mail\r\n’
reply: ‘250-PIPELINING\r\n’
reply: ‘250-AUTH LOGIN PLAIN\r\n’
reply: ‘250-AUTH=LOGIN PLAIN\r\n’
reply: ‘250-coremail 1Uxr2xKj7kG0xkI17xGrU7I0s8FY2U3Uj8Cz28x1UUUUU7Ic2I0Y2UF1FUF4UCa0xDrUUUUj\r\n’
reply: ‘250-STARTTLS\r\n’
reply: ‘250 8BITMIME\r\n’
reply: retcode (250); Msg: mail
PIPELINING
AUTH LOGIN PLAIN
AUTH=LOGIN PLAIN
coremail 1Uxr2xKj7kG0xkI17xGrU7I0s8FY2U3Uj8Cz28x1UUUUU7Ic2I0Y2UF1FUF4UCa0xDrUUUUj
STARTTLS
8BITMIME
send: AUTH
reply: ‘235 Authentication successful\r\n’
reply: retcode (235); Msg: Authentication successful
send: u’mail FROM:\r\n’
reply: ‘250 Mail OK\r\n’
reply: retcode (250); Msg: Mail OK
send: u’rcpt TO:\r\n’
reply: ‘250 Mail OK\r\n’
reply: retcode (250); Msg: Mail OK
send: ‘data\r\n’
reply: ‘354 End data with .\r\n’
reply: retcode (354); Msg: End data with .
data: (354, ‘End data with .’)
send: ‘Content-Type: multipart/mixed; boundary=”===============1538723088==”\r\nMIME-Version: 1.0\r\nSubje…
这些信息中没有错误代码,无法判断问题所在。你推送的这个文件大小超过 50MB 了吗?
看到你说的没问题,我又特意等久了点,最后终于成功了。估计是网络慢而且文件有点大,就推送时间长了。太感谢了!
求助,163邮箱,密码填写的是授权码,smtp已开启,系统无代理
Traceback (most recent call last):
File “site-packages\calibre\gui2\wizard\send_email.py”, line 207, in test_email_settings
File “site-packages\calibre\utils\smtp.py”, line 148, in sendmail
File “site-packages\calibre\utils\smtplib.py”, line 336, in connect
File “site-packages\calibre\utils\smtplib.py”, line 833, in _get_socket
File “socket.py”, line 575, in create_connection
error: [Errno 10061]
Log:
connect: (u’smtp.163.com’, 465)
connect: (u’smtp.163.com’, 465)
错误提示无法正常建立 SMTP 连接。建议检查一下有没有防火墙或 360 之类的软件阻止了连接。
outlook邮箱,这是什么问题呢?
Traceback (most recent call last):
File “site-packages/calibre/gui2/wizard/send_email.py”, line 207, in test_email_settings
File “site-packages/calibre/utils/smtp.py”, line 159, in sendmail
File “site-packages/calibre/utils/smtplib.py”, line 648, in login
SMTPAuthenticationError: (535, ‘5.7.3 Authentication unsuccessful [BL0PR02CA0102.namprd02.prod.outlook.com]’)
Log:
connect: (u’smtp-mail.outlook.com’, 587)
connect: (u’smtp-mail.outlook.com’, 587)
reply: ‘220 BL0PR02CA0102.outlook.office365.com Microsoft ESMTP MAIL Service ready at Fri, 12 Oct 2018 02:15:26 +0000\r\n’
reply: retcode (220); Msg: BL0PR02CA0102.outlook.office365.com Microsoft ESMTP MAIL Service ready at Fri, 12 Oct 2018 02:15:26 +0000
connect: BL0PR02CA0102.outlook.office365.com Microsoft ESMTP MAIL Service ready at Fri, 12 Oct 2018 02:15:26 +0000
send: ‘ehlo Anqis-MacBook-Pro.local\r\n’
reply: ‘250-BL0PR02CA0102.outlook.office365.com Hello [184.191.65.54]\r\n’
reply: ‘250-SIZE 157286400\r\n’
reply: ‘250-PIPELINING\r\n’
reply: ‘250-DSN\r\n’
reply: ‘250-ENHANCEDSTATUSCODES\r\n’
reply: ‘250-STARTTLS\r\n’
reply: ‘250-8BITMIME\r\n’
reply: ‘250-BINARYMIME\r\n’
reply: ‘250-CHUNKING\r\n’
reply: ‘250 SMTPUTF8\r\n’
reply: retcode (250); Msg: BL0PR02CA0102.outlook.office365.com Hello [184.191.65.54]
SIZE 157286400
PIPELINING
DSN
ENHANCEDSTATUSCODES
STARTTLS
8BITMIME
BINARYMIME
CHUNKING
SMTPUTF8
send: ‘STARTTLS\r\n’
reply: ‘220 2.0.0 SMTP server ready\r\n’
reply: retcode (220); Msg: 2.0.0 SMTP server ready
send: ‘ehlo Anqis-MacBook-Pro.local\r\n’
reply: ‘250-BL0PR02CA0102.outlook.office365.com Hello [184.191.65.54]\r\n’
reply: ‘250-SIZE 157286400\r\n’
reply: ‘250-PIPELINING\r\n’
reply: ‘250-DSN\r\n’
reply: ‘250-ENHANCEDSTATUSCODES\r\n’
reply: ‘250-AUTH LOGIN XOAUTH2\r\n’
reply: ‘250-8BITMIME\r\n’
reply: ‘250-BINARYMIME\r\n’
reply: ‘250-CHUNKING\r\n’
reply: ‘250 SMTPUTF8\r\n’
reply: retcode (250); Msg: BL0PR02CA0102.outlook.office365.com Hello [184.191.65.54]
SIZE 157286400
PIPELINING
DSN
ENHANCEDSTATUSCODES
AUTH LOGIN XOAUTH2
8BITMIME
BINARYMIME
CHUNKING
SMTPUTF8
send: ‘AUTH LOGIN c210cC1tYWlsLm91dGxvb2suY29t\r\n’
reply: ‘334 UGFzc3dvcmQ6\r\n’
reply: retcode (334); Msg: UGFzc3dvcmQ6
send: ‘bGlseWxpYW5nMDgyMg==\r\n’
reply: ‘535 5.7.3 Authentication unsuccessful [BL0PR02CA0102.namprd02.prod.outlook.com]\r\n’
reply: retcode (535); Msg: 5.7.3 Authentication unsuccessful [BL0PR02CA0102.namprd02.prod.outlook.com]
错误代码显示是用户验证错误。
用户名下的密码,我是设置成了 163的客户端授权码才成功的
求助,用的是163邮箱,密码也是刚才就设置好的授权码,可是还是有错误,错误如下:
Traceback (most recent call last):
File “site-packages/calibre/gui2/wizard/send_email.py”, line 207, in test_email_settings
File “site-packages/calibre/utils/smtp.py”, line 161, in sendmail
File “site-packages/calibre/utils/smtplib.py”, line 764, in sendmail
File “site-packages/calibre/utils/smtplib.py”, line 494, in rset
File “site-packages/calibre/utils/smtplib.py”, line 419, in docmd
File “site-packages/calibre/utils/smtplib.py”, line 393, in getreply
SMTPServerDisconnected: Connection unexpectedly closed
Log:
connect: (u’smtp.163.com’, 465)
connect: (u’smtp.163.com’, 465)
reply: ‘220 163.com Anti-spam GT for Coremail System (163com[20141201])\r\n’
reply: retcode (220); Msg: 163.com Anti-spam GT for Coremail System (163com[20141201])
connect: 163.com Anti-spam GT for Coremail System (163com[20141201])
send: ‘ehlo silvercrowsdeMacBook-Pro.local\r\n’
reply: ‘250-mail\r\n’
reply: ‘250-PIPELINING\r\n’
reply: ‘250-AUTH LOGIN PLAIN\r\n’
reply: ‘250-AUTH=LOGIN PLAIN\r\n’
reply: ‘250-coremail 1Uxr2xKj7kG0xkI17xGrU7I0s8FY2U3Uj8Cz28x1UUUUU7Ic2I0Y2UrxhcuxUCa0xDrUUUUj\r\n’
reply: ‘250-STARTTLS\r\n’
reply: ‘250 8BITMIME\r\n’
reply: retcode (250); Msg: mail
PIPELINING
AUTH LOGIN PLAIN
AUTH=LOGIN PLAIN
coremail 1Uxr2xKj7kG0xkI17xGrU7I0s8FY2U3Uj8Cz28x1UUUUU7Ic2I0Y2UrxhcuxUCa0xDrUUUUj
STARTTLS
8BITMIME
send: ‘AUTH PLAIN AGh1NDU1MzEyOTg5QDE2My5jb20AeGpidDE5OTgxMjIwMDEyMw==\r\n’
reply: ‘235 Authentication successful\r\n’
reply: retcode (235); Msg: Authentication successful
send: u’mail FROM:\r\n’
reply: ‘554 MI:SPB UserReject 0,smtp9,DcCowAC3HndRQVhbbiAXDw–.17100S2 1532510546,please feedback at http://feedback.mail.126.com/antispam/complain.php?user=hu455312989@163.com\r\n’
reply: retcode (554); Msg: MI:SPB UserReject 0,smtp9,DcCowAC3HndRQVhbbiAXDw–.17100S2 1532510546,please feedback at http://feedback.mail.126.com/antispam/complain.php?user=hu455312989@163.com
send: ‘rset\r\n’
send: ‘quit\r\n’
注意错误提示里面有一串代码 554 MI:SPB。网易的“企业退信的常见问题”中是这这样解释的:554 MI:SPB 此用户不在网易允许的发信用户列表里。建议更换邮箱,或尝试按照错误提示里面的反馈链接将此问题返回给网易邮箱处理。
出现如下错误,请问如何解决
Starting job: Email 天空的另一半(《华盛顿邮报》 年度十佳书籍!《纽约时报》畅销榜第1名!累计销量逾500万!普利策新闻奖得主震撼人心代表作。) (大鱼读品系列) to 95560036@kindle.cn
connect: (u’smtp.163.com’, 465)
connect: (u’smtp.163.com’, 465)
Sending failed…
Traceback (most recent call last):
File “site-packages\calibre\gui2\email.py”, line 44, in run
File “site-packages\calibre\gui2\email.py”, line 134, in sendmail
File “site-packages\calibre\utils\smtp.py”, line 147, in sendmail
File “site-packages\calibre\utils\smtplib.py”, line 336, in connect
File “site-packages\calibre\utils\smtplib.py”, line 834, in _get_socket
File “ssl.py”, line 933, in wrap_socket
File “ssl.py”, line 601, in __init__
File “ssl.py”, line 830, in do_handshake
error: [Errno 10054]
建议检查电脑的防火墙或病毒软件是否拦截了 SMTP 通信。
我的这个乱码是“SMTPDataError”怎么办呢?
Traceback (most recent call last):
File “site-packages\calibre\gui2\wizard\send_email.py”, line 207, in test_email_settings
File “site-packages\calibre\utils\smtp.py”, line 161, in sendmail
File “site-packages\calibre\utils\smtplib.py”, line 780, in sendmail
SMTPDataError: (554, ‘DT:SPM 163 smtp14,EsCowADnTt8tbkFbONTzJw–.20513S2 1531014701,please see http://mail.163.com/help/help_spam_16.htm?ip=202.100.214.103&hostid=smtp14&time=1531014701′)
Log:
connect: (u’smtp.163.com’, 465)
connect: (u’smtp.163.com’, 465)
reply: ‘220 163.com Anti-spam GT for Coremail System (163com[20141201])\r\n’
reply: retcode (220); Msg: 163.com Anti-spam GT for Coremail System (163com[20141201])
connect: 163.com Anti-spam GT for Coremail System (163com[20141201])
send: ‘ehlo [192.168.137.1]\r\n’
reply: ‘250-mail\r\n’
reply: ‘250-PIPELINING\r\n’
reply: ‘250-AUTH LOGIN PLAIN\r\n’
reply: ‘250-AUTH=LOGIN PLAIN\r\n’
reply: ‘250-coremail 1Uxr2xKj7kG0xkI17xGrU7I0s8FY2U3Uj8Cz28x1UUUUU7Ic2I0Y2UrMuGtdUCa0xDrUUUUj\r\n’
reply: ‘250-STARTTLS\r\n’
reply: ‘250 8BITMIME\r\n’
reply: retcode (250); Msg: mail
PIPELINING
AUTH LOGIN PLAIN
AUTH=LOGIN PLAIN
coremail 1Uxr2xKj7kG0xkI17xGrU7I0s8FY2U3Uj8Cz28x1UUUUU7Ic2I0Y2UrMuGtdUCa0xDrUUUUj
STARTTLS
8BITMIME
send: ‘AUTH PLAIN ADE4MjI2Njg2MDM4AEpVTkxJTkdUSUFOWElB\r\n’
reply: ‘235 Authentication successful\r\n’
reply: retcode (235); Msg: Authentication successful
send: u’mail FROM:\r\n’
reply: ‘250 Mail OK\r\n’
reply: retcode (250); Msg: Mail OK
send: u’rcpt TO:\r\n’
reply: ‘250 Mail OK\r\n’
reply: retcode (250); Msg: Mail OK
send: ‘data\r\n’
reply: ‘354 End data with .\r\n’
reply: retcode (354); Msg: End data with .
data: (354, ‘End data with .’)
send: ‘Content-Type: multipart/mixed; boundary=”===============1314629356==”\r\nMIME-Version: 1.0\r\nSubject: Test mail from calibre\r\nTo: 8618226686038_75c59d@kindle.cn\r\nFrom: 18226686038@163.com\r\nDate: Sun, 08 Jul 2018 09:51:41 +0800\r\nMessage-Id: \r\n\r\nYou will not see this in a MIME-aware mail reader.\r\n\r\n–===============1314629356==\r\nContent-Type: text/plain; charset=”us-ascii”\r\nMIME-Version: 1.0\r\nContent-Transfer-Encoding: 7bit\r\n\r\nTest mail from calibre\r\n–===============1314629356==–\r\n.\r\n’
reply: ‘554 DT:SPM 163 smtp14,EsCowADnTt8tbkFbONTzJw–.20513S2 1531014701,please see http://mail.163.com/help/help_spam_16.htm?ip=202.100.214.103&hostid=smtp14&time=1531014701\r\n’
reply: retcode (554); Msg: DT:SPM 163 smtp14,EsCowADnTt8tbkFbONTzJw–.20513S2 1531014701,please see http://mail.163.com/help/help_spam_16.htm?ip=202.100.214.103&hostid=smtp14&time=1531014701
data: (554, ‘DT:SPM 163 smtp14,EsCowADnTt8tbkFbONTzJw–.20513S2 1531014701,please see http://mail.163.com/help/help_spam_16.htm?ip=202.100.214.103&hostid=smtp14&time=1531014701’)
send: ‘rset\r\n’
reply: ‘250 OK\r\n’
reply: retcode (250); Msg: OK
send: ‘quit\r\n’
reply: ‘221 Bye\r\n’
reply: retcode (221); Msg: Bye
错误提示中的网址给出了解释:554 DT:SPM 发送的邮件内容包含了未被许可的信息,或被系统识别为垃圾邮件。请检查是否有用户发送病毒或者垃圾邮件。
那到底是怎么解决呢,电脑问题吗
这是邮箱提供商的问题。如果重试几次都无法成功,建议更换其它邮箱。
我之前也是这个问题,发测试邮件怎么发都不好使。但是直接发书,几秒就过去了,发书正常不受影响,今天刚搞完的。
楼主你好,我用gmail(端口465,SSL加密),可以成功发送测试邮件,Gmail邮箱能收到amazon的反馈邮件;但是推书时显示推送失败。你有碰到类似的情况吗?
推送失败会有提示,需要根据提示判断问题出在哪里。点击 Calibre 右下角的“任务”打开任务列表,双击失败的那一条可以看到详细提示信息。
谢谢回复。
任务里发送那一步的进度条持续显示“不可用”,几分钟后“发送失败”;
详细信息:
Starting job: 把 A Canticle for Leibowitz 发Email到 ***@kindle.com
connect: (u’smtp.gmail.com’, 465)
connect: (u’smtp.gmail.com’, 465)
Sending failed…
Traceback (most recent call last):
File “site-packages\calibre\gui2\email.py”, line 44, in run
File “site-packages\calibre\gui2\email.py”, line 134, in sendmail
File “site-packages\calibre\utils\smtp.py”, line 147, in sendmail
File “site-packages\calibre\utils\smtplib.py”, line 334, in connect
File “site-packages\calibre\utils\smtplib.py”, line 829, in _get_socket
File “socket.py”, line 575, in create_connection
error: [Errno 10060]
Retrying in 301 seconds…
Waiting 301 seconds before sending, to avoid being marked as spam.
You can control this delay via Preferences->Tweaks
connect: (u’smtp.gmail.com’, 465)
connect: (u’smtp.gmail.com’, 465)
Sending failed…
Traceback (most recent call last):
File “site-packages\calibre\gui2\email.py”, line 44, in run
File “site-packages\calibre\gui2\email.py”, line 134, in sendmail
File “site-packages\calibre\utils\smtp.py”, line 147, in sendmail
File “site-packages\calibre\utils\smtplib.py”, line 334, in connect
File “site-packages\calibre\utils\smtplib.py”, line 829, in _get_socket
File “socket.py”, line 575, in create_connection
error: [Errno 10060]
Job: “把 A Canticle for Leibowitz 发Email到 ***@kindle.com” failed with error:
Traceback (most recent call last):
File “site-packages\calibre\gui2\threaded_jobs.py”, line 84, in start_work
File “site-packages\calibre\gui2\email.py”, line 101, in __call__
error: [Errno 10060]
Called with args: (u’C:\\Users\\Echo\\AppData\\Local\\Temp\\calibre_8kmwsk\\nlttuqcaltmpfmt.mobi’, u’A Canticle for Leibowitz – Walter M. Miller Jr_.mobi’, u’ ***@kindle.com’, u’\u7535\u5b50\u4e66\uff1a A Canticle for Leibowitz’, u’\u5df2\u6dfb\u52a0, \u60a8\u53ef\u4ee5\u4ece\u4e2d\u83b7\u53d6\u7535\u5b50\u4e66\n\nA Canticle for Leibowitz\n\t\u7531 Walter M. Miller Jr.\n\n\u4f7f\u7528 MOBI \u683c\u5f0f.\n\n\u5173\u4e8e\u672c\u4e66\uff1a\n\nWalter M. Miller\’s acclaimed SF classic *A Canticle for Leibowitz*\nopens with the accidental excavation of a holy artifact: a creased,\nbrittle memo scrawled by the hand of the blessed Saint Leibowitz, that\nreads: “Pound pastrami, can kraut, six bagels–bring home for Emma.”\nTo the Brothers of Saint Leibowitz, this sacred shopping list penned\nby an obscure, 20th-century engineer is a symbol of hope from the\ndistant past, from before the Simplification, the fiery atomic\nholocaust that plunged the earth into darkness and ignorance. As\n*1984* cautioned against Stalinism, so 1959\’s *A Canticle for\nLeibowitz* warns of the threat and implications of nuclear\nannihilation. Following a cloister of monks in their Utah abbey over\nsome six or seven hundred years, the funny but bleak *Canticle*\ntackles the sociological and religious implications of the cyclical\nrise and fall of civilization, questioning whether humanity can hope\nfor more than repeating its own history.’) {u’log’: , u’notifications’: , u’abort’: }
calibre, version 3.26.1 (win32, embedded-python: True)
无法通过电子邮件发送书籍: 失败: 把 A Canticle for Leibowitz 发Email到 ***@kindle.com
Starting job: 把 A Canticle for Leibowitz 发Email到 ***@kindle.com
connect: (u’smtp.gmail.com’, 465)
connect: (u’smtp.gmail.com’, 465)
Sending failed…
Traceback (most recent call last):
File “site-packages\calibre\gui2\email.py”, line 44, in run
File “site-packages\calibre\gui2\email.py”, line 134, in sendmail
File “site-packages\calibre\utils\smtp.py”, line 147, in sendmail
File “site-packages\calibre\utils\smtplib.py”, line 334, in connect
File “site-packages\calibre\utils\smtplib.py”, line 829, in _get_socket
File “socket.py”, line 575, in create_connection
error: [Errno 10060]
Retrying in 301 seconds…
Waiting 301 seconds before sending, to avoid being marked as spam.
You can control this delay via Preferences->Tweaks
connect: (u’smtp.gmail.com’, 465)
connect: (u’smtp.gmail.com’, 465)
Sending failed…
Traceback (most recent call last):
File “site-packages\calibre\gui2\email.py”, line 44, in run
File “site-packages\calibre\gui2\email.py”, line 134, in sendmail
File “site-packages\calibre\utils\smtp.py”, line 147, in sendmail
File “site-packages\calibre\utils\smtplib.py”, line 334, in connect
File “site-packages\calibre\utils\smtplib.py”, line 829, in _get_socket
File “socket.py”, line 575, in create_connection
error: [Errno 10060]
Job: “把 A Canticle for Leibowitz 发Email到 ***@kindle.com” failed with error:
Traceback (most recent call last):
File “site-packages\calibre\gui2\threaded_jobs.py”, line 84, in start_work
File “site-packages\calibre\gui2\email.py”, line 101, in __call__
error: [Errno 10060]
Called with args: (u’C:\\Users\\Echo\\AppData\\Local\\Temp\\calibre_8kmwsk\\nlttuqcaltmpfmt.mobi’, u’A Canticle for Leibowitz – Walter M. Miller Jr_.mobi’, u’mmchmuyuan@kindle.com’, u’\u7535\u5b50\u4e66\uff1a A Canticle for Leibowitz’, u’\u5df2\u6dfb\u52a0, \u60a8\u53ef\u4ee5\u4ece\u4e2d\u83b7\u53d6\u7535\u5b50\u4e66\n\nA Canticle for Leibowitz\n\t\u7531 Walter M. Miller Jr.\n\n\u4f7f\u7528 MOBI \u683c\u5f0f.\n\n\u5173\u4e8e\u672c\u4e66\uff1a\n\nWalter M. Miller\’s acclaimed SF classic *A Canticle for Leibowitz*\nopens with the accidental excavation of a holy artifact: a creased,\nbrittle memo scrawled by the hand of the blessed Saint Leibowitz, that\nreads: “Pound pastrami, can kraut, six bagels–bring home for Emma.”\nTo the Brothers of Saint Leibowitz, this sacred shopping list penned\nby an obscure, 20th-century engineer is a symbol of hope from the\ndistant past, from before the Simplification, the fiery atomic\nholocaust that plunged the earth into darkness and ignorance. As\n*1984* cautioned against Stalinism, so 1959\’s *A Canticle for\nLeibowitz* warns of the threat and implications of nuclear\nannihilation. Following a cloister of monks in their Utah abbey over\nsome six or seven hundred years, the funny but bleak *Canticle*\ntackles the sociological and religious implications of the cyclical\nrise and fall of civilization, questioning whether humanity can hope\nfor more than repeating its own history.’) {u’log’: , u’notifications’: , u’abort’: }
错误提示无法建立连接。检查一下你的电脑是否使用了网络代理,或者有防火墙、病毒软件之类的阻止了 SMTP 的连接。
为什么邮件测试不通过,请问可以怎么解决呢?
Traceback (most recent call last):
File “site-packages\calibre\gui2\wizard\send_email.py”, line 207, in test_email_settings
File “site-packages\calibre\utils\smtp.py”, line 154, in sendmail
File “site-packages\calibre\utils\smtplib.py”, line 647, in login
SMTPAuthenticationError: (550, ‘User has no permission’)
Log:
connect: (u’smtp.163.com’, 587)
connect: (u’smtp.163.com’, 587)
reply: ‘220 163.com Anti-spam GT for Coremail System (163com[20141201])\r\n’
reply: retcode (220); Msg: 163.com Anti-spam GT for Coremail System (163com[20141201])
connect: 163.com Anti-spam GT for Coremail System (163com[20141201])
send: ‘ehlo [131.131.7.54]\r\n’
reply: ‘250-mail\r\n’
reply: ‘250-PIPELINING\r\n’
reply: ‘250-AUTH LOGIN PLAIN\r\n’
reply: ‘250-AUTH=LOGIN PLAIN\r\n’
reply: ‘250-coremail 1Uxr2xKj7kG0xkI17xGrU7I0s8FY2U3Uj8Cz28x1UUUUU7Ic2I0Y2UFZx3cLUCa0xDrUUUUj\r\n’
reply: ‘250-STARTTLS\r\n’
reply: ‘250 8BITMIME\r\n’
reply: retcode (250); Msg: mail
PIPELINING
AUTH LOGIN PLAIN
AUTH=LOGIN PLAIN
coremail 1Uxr2xKj7kG0xkI17xGrU7I0s8FY2U3Uj8Cz28x1UUUUU7Ic2I0Y2UFZx3cLUCa0xDrUUUUj
STARTTLS
8BITMIME
send: ‘AUTH PLAIN AGFnbmVzYjIwMTRAMTYzLmNvbQBEYW9oYW93dWNoaQ==\r\n’
reply: ‘550 User has no permission\r\n’
reply: retcode (550); Msg: User has no permission
密码使用的是“授权码”吗?如果不是的话,需要进入 163 邮箱设置中的“客户端授权密码”开启“设置客户端授权码”,然后把你设置的授权码作为 SMTP 密码使用。
求助
Traceback (most recent call last):
File “site-packages\calibre\gui2\email.py”, line 44, in run
File “site-packages\calibre\gui2\email.py”, line 134, in sendmail
File “site-packages\calibre\utils\smtp.py”, line 147, in sendmail
File “site-packages\calibre\utils\smtplib.py”, line 334, in connect
File “site-packages\calibre\utils\smtplib.py”, line 829, in _get_socket
File “socket.py”, line 575, in create_connection
error: [Errno 10061]
Retrying in 1 seconds…
Waiting 1 seconds before sending, to avoid being marked as spam.
You can control this delay via Preferences->Tweaks
connect: (u’smtp.163.com’, 578)
connect: (u’smtp.163.com’, 578)
Sending failed…
Traceback (most recent call last):
File “site-packages\calibre\gui2\email.py”, line 44, in run
File “site-packages\calibre\gui2\email.py”, line 134, in sendmail
File “site-packages\calibre\utils\smtp.py”, line 147, in sendmail
File “site-packages\calibre\utils\smtplib.py”, line 334, in connect
File “site-packages\calibre\utils\smtplib.py”, line 829, in _get_socket
File “socket.py”, line 575, in create_connection
error: [Errno 10061]
Job: “把 苏菲的世界 发Email到 zzzdtian@kindle.cn” failed with error:
Traceback (most recent call last):
File “site-packages\calibre\gui2\threaded_jobs.py”, line 84, in start_work
File “site-packages\calibre\gui2\email.py”, line 101, in __call__
error: [Errno 10061]
Called with args: (u’C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\calibre_pi49b4\\9njewzcaltmpfmt.mobi’, u’Su Fei De Shi Jie – (Nuo Wei )Qiao Si Tan _Jia De.mobi’, u’zzzdtian@kindle.cn’, u’\u7535\u5b50\u4e66\uff1a \u82cf\u83f2\u7684\u4e16\u754c’, u’\u5df2\u6dfb\u52a0, \u60a8\u53ef\u4ee5\u4ece\u4e2d\u83b7\u53d6\u7535\u5b50\u4e66\n\n\u82cf\u83f2\u7684\u4e16\u754c\n\t\u7531 \uff08\u632a\u5a01\uff09\u4e54\u65af\u5766\xb7\u8d3e\u5fb7\n\n\u4f7f\u7528 MOBI \u683c\u5f0f.’) {u’log’: , u’abort’: , u’notifications’: }
错误提示无法建立连接。检查一下你的电脑是否使用了网络代理,或者有防火墙、病毒软件之类的阻止了 SMTP 的连接。
求助,测试推送的时候出现了这个
Traceback (most recent call last):
File “site-packages\calibre\gui2\wizard\send_email.py”, line 207, in test_email_settings
File “site-packages\calibre\utils\smtp.py”, line 154, in sendmail
File “site-packages\calibre\utils\smtplib.py”, line 647, in login
SMTPAuthenticationError: (535, ‘Error: \xc7\xeb\xca\xb9\xd3\xc3\xca\xda\xc8\xa8\xc2\xeb\xb5\xc7\xc2\xbc\xa1\xa3\xcf\xea\xc7\xe9\xc7\xeb\xbf\xb4: http://service.mail.qq.com/cgi-bin/help?subtype=1&&id=28&&no=1001256′)
Log:
connect: (u’smtp.qq.com’, 465)
connect: (u’smtp.qq.com’, 465)
reply: ‘220 smtp.qq.com Esmtp QQ Mail Server\r\n’
reply: retcode (220); Msg: smtp.qq.com Esmtp QQ Mail Server
connect: smtp.qq.com Esmtp QQ Mail Server
send: ‘ehlo LAPTOP-A88OJ8NP.lan\r\n’
reply: ‘250-smtp.qq.com\r\n’
reply: ‘250-PIPELINING\r\n’
reply: ‘250-SIZE 73400320\r\n’
reply: ‘250-AUTH LOGIN PLAIN\r\n’
reply: ‘250-AUTH=LOGIN\r\n’
reply: ‘250-MAILCOMPRESS\r\n’
reply: ‘250 8BITMIME\r\n’
reply: retcode (250); Msg: smtp.qq.com
PIPELINING
SIZE 73400320
AUTH LOGIN PLAIN
AUTH=LOGIN
MAILCOMPRESS
8BITMIME
send: ‘AUTH PLAIN ADM2MjE0NDU3OEBxcS5jb20Aem5ueWhoYXpqMTMxNA==\r\n’
reply: ‘535 Error: \xc7\xeb\xca\xb9\xd3\xc3\xca\xda\xc8\xa8\xc2\xeb\xb5\xc7\xc2\xbc\xa1\xa3\xcf\xea\xc7\xe9\xc7\xeb\xbf\xb4: http://service.mail.qq.com/cgi-bin/help?subtype=1&&id=28&&no=1001256\r\n’
reply: retcode (535); Msg: Error: ��ʹ����Ȩ����¼�������뿴: http://service.mail.qq.com/cgi-bin/help?subtype=1&&id=28&&no=1001256
因为你的 QQ 邮箱开启了“授权码”,所以在使用 SMTP 的时候,你需要使用你设置的“授权码”而不是邮箱“登录密码”。错误提示中的链接给出了详细的解释和设置步骤。