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教程”相关阅读
- 用 GitHub Actions 让 Calibre 定时推送新闻到 Kindle
- Calibre 发布 3.0 版本(附常用功能梳理)
- Calibre 使用教程之转换电子书格式
- Calibre使用教程之为电子书添加或修改封面
- Calibre 使用教程之电子书繁体字转简体字
- Calibre 使用教程之为 Kindle 电子书添加页码
- 如何修复用 Calibre 通过 USB 导入 Kindle 的电子书封面
- 英文电子书使用字典查词时选中整段的解决方法
- Calibre 使用教程之批量获取电子书元数据
- Calibre 使用教程之通过 WiFi 向 Kindle 传输电子书
- Calibre 常用命令行工具详解之 ebook-convert
- Calibre 常用命令行工具详解之 calibre-smtp
- Calibre 使用教程之抓取 RSS 制成电子书
- 如何用 Calibre 和 Count Pages 插件统计电子书的字数和页数
- Calibre 常用命令行工具详解之 ebook-meta
用的是126的邮箱,不行。请问一下,怎么处理,谢谢:
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 182, in sendmail
File “site-packages\calibre\utils\smtplib.py”, line 645, in login
SMTPAuthenticationError: (550, ‘\xd3\xc3\xbb\xa7\xce\xde\xc8\xa8\xb5\xc7\xc2\xbd’)
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: u’ehlo [192.168.26.74]\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 1Uxr2xKj7kG0xkI17xGrU7I0s8FY2U3Uj8Cz28x1UUUUU7Ic2I0Y2Ur4M5tIUCa0xDrUUUUj\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 1Uxr2xKj7kG0xkI17xGrU7I0s8FY2U3Uj8Cz28x1UUUUU7Ic2I0Y2Ur4M5tIUCa0xDrUUUUj
STARTTLS
8BITMIME
send: AUTH
reply: ‘550 \xd3\xc3\xbb\xa7\xce\xde\xc8\xa8\xb5\xc7\xc2\xbd\r\n’
reply: retcode (550); Msg: �û���Ȩ��½
从错误信息看,原因是 SMTP 账户验证失败。163 系的邮箱(含 126、yeah 等)都需要开启授权码,然后配制 SMTP 的时候,密码要填写生成的授权码。
我使用的proton邮箱,能否教我设置 邮箱服务器?
用了gmail和163都不行啊。。咨询一下,谢谢:
这个是163的
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 182, in sendmail
File “site-packages\calibre\utils\smtplib.py”, line 645, 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: u’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 1Uxr2xKj7kG0xkI17xGrU7I0s8FY2U3Uj8Cz28x1UUUUU7Ic2I0Y2UFAD3UsUCa0xDrUUUUj\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 1Uxr2xKj7kG0xkI17xGrU7I0s8FY2U3Uj8Cz28x1UUUUU7Ic2I0Y2UFAD3UsUCa0xDrUUUUj
STARTTLS
8BITMIME
send: AUTH
reply: ‘550 User has no permission\r\n’
reply: retcode (550); Msg: User has no permission
这个是gmail的:
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 182, in sendmail
File “site-packages\calibre\utils\smtplib.py”, line 645, in login
SMTPAuthenticationError: (535, ‘5.7.8 Username and Password not accepted. Learn more at\n5.7.8 https://support.google.com/mail/?p=BadCredentials i26sm23450605pfr.151 – gsmtp’)
Log:
connect: (u’smtp.gmail.com’, 587)
connect: (u’smtp.gmail.com’, 587)
reply: ‘220 smtp.gmail.com ESMTP i26sm23450605pfr.151 – gsmtp\r\n’
reply: retcode (220); Msg: smtp.gmail.com ESMTP i26sm23450605pfr.151 – gsmtp
connect: smtp.gmail.com ESMTP i26sm23450605pfr.151 – gsmtp
send: u’ehlo [192.168.137.1]\r\n’
reply: ‘250-smtp.gmail.com at your service, [61.238.62.68]\r\n’
reply: ‘250-SIZE 35882577\r\n’
reply: ‘250-8BITMIME\r\n’
reply: ‘250-STARTTLS\r\n’
reply: ‘250-ENHANCEDSTATUSCODES\r\n’
reply: ‘250-PIPELINING\r\n’
reply: ‘250-CHUNKING\r\n’
reply: ‘250 SMTPUTF8\r\n’
reply: retcode (250); Msg: smtp.gmail.com at your service, [61.238.62.68]
SIZE 35882577
8BITMIME
STARTTLS
ENHANCEDSTATUSCODES
PIPELINING
CHUNKING
SMTPUTF8
send: ‘STARTTLS\r\n’
reply: ‘220 2.0.0 Ready to start TLS\r\n’
reply: retcode (220); Msg: 2.0.0 Ready to start TLS
send: u’ehlo [192.168.137.1]\r\n’
reply: ‘250-smtp.gmail.com at your service, [61.238.62.68]\r\n’
reply: ‘250-SIZE 35882577\r\n’
reply: ‘250-8BITMIME\r\n’
reply: ‘250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH\r\n’
reply: ‘250-ENHANCEDSTATUSCODES\r\n’
reply: ‘250-PIPELINING\r\n’
reply: ‘250-CHUNKING\r\n’
reply: ‘250 SMTPUTF8\r\n’
reply: retcode (250); Msg: smtp.gmail.com at your service, [61.238.62.68]
SIZE 35882577
8BITMIME
AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH
ENHANCEDSTATUSCODES
PIPELINING
CHUNKING
SMTPUTF8
send: AUTH
reply: ‘535-5.7.8 Username and Password not accepted. Learn more at\r\n’
reply: ‘535 5.7.8 https://support.google.com/mail/?p=BadCredentials i26sm23450605pfr.151 – gsmtp\r\n’
reply: retcode (535); Msg: 5.7.8 Username and Password not accepted. Learn more at
5.7.8 https://support.google.com/mail/?p=BadCredentials i26sm23450605pfr.151 – gsmtp
163 的提示用户没有权限,请检查一下登录信息,确保是用授权码登录的。Gmail 的是用户名或密码不正确,请检查登录信息确保无误。
163开了授权码和POP3/SMTP/IMAP服务后可以了,但gmail还是不行,不知道为什么,不过也没必要弄了。
感谢帮助!
我设置好发送测试邮件也提示成功了,但就是收不到亚马孙的客服自动回复,发送到邮箱个人文档里面也没有我发过去的书,真心求帮助,之前用这个已经传了很多,现在不行了。
没收到自动回复说明推送没遇到问题。建议你登录 http://z.cn/myk 检查一下“我的内容”中的待推送队列,看有没有你推送的内容。最近有几位小伙伴反馈收不到,都是因为 Kindle 网络连接有问题导致推延迟。如果有待推送内容,可以重启一下 Kindle 重新联网试试。
之前还好好的,今天突然不能用了。麻烦咨询一下。
calibre, version 4.3.0 (darwin, embedded-python: True)
Failed to email book: Failed: Email One For Sorrow to 379563260-1@kindle.cn
Starting job: Email One For Sorrow to 379563260-1@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: u’ehlo localhost.localdomain\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 1Uxr2xKj7kG0xkI17xGrU7I0s8FY2U3Uj8Cz28x1UUUUU7Ic2I0Y2UrPWDq6UCa0xDrUUUUj\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 1Uxr2xKj7kG0xkI17xGrU7I0s8FY2U3Uj8Cz28x1UUUUU7Ic2I0Y2UrPWDq6UCa0xDrUUUUj
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=”===============2130501309953518776==”\r\nMIME-Version: 1.0…
reply: ‘554 DT:SPM 163 smtp2,GtxpCgA3VaF2ndBdUfwlAQ–.504S2 1573952915,please see http://mail.163.com/help/help_spam_16.htm?ip=71.79.138.99&hostid=smtp2&time=1573952915\r\n’
reply: retcode (554); Msg: DT:SPM 163 smtp2,GtxpCgA3VaF2ndBdUfwlAQ–.504S2 1573952915,please see http://mail.163.com/help/help_spam_16.htm?ip=71.79.138.99&hostid=smtp2&time=1573952915
data: (554, ‘DT:SPM 163 smtp2,GtxpCgA3VaF2ndBdUfwlAQ–.504S2 1573952915,please see http://mail.163.com/help/help_spam_16.htm?ip=71.79.138.99&hostid=smtp2&time=1573952915’)
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
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 185, in sendmail
File “site-packages/calibre/utils/smtplib.py”, line 777, in sendmail
SMTPDataError: (554, ‘DT:SPM 163 smtp2,GtxpCgA3VaF2ndBdUfwlAQ–.504S2 1573952915,please see http://mail.163.com/help/help_spam_16.htm?ip=71.79.138.99&hostid=smtp2&time=1573952915′)
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’, 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: u’ehlo localhost.localdomain\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 1Uxr2xKj7kG0xkI17xGrU7I0s8FY2U3Uj8Cz28x1UUUUU7Ic2I0Y2UFL3IilUCa0xDrUUUUj\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 1Uxr2xKj7kG0xkI17xGrU7I0s8FY2U3Uj8Cz28x1UUUUU7Ic2I0Y2UFL3IilUCa0xDrUUUUj
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=”===============6937659107569874709==”\r\nMIME-Version: 1.0…
reply: ‘554 DT:SPM 163 smtp4,HNxpCgAXRzKWndBdnJHmAw–.168S2 1573952939,please see http://mail.163.com/help/help_spam_16.htm?ip=71.79.138.99&hostid=smtp4&time=1573952939\r\n’
reply: retcode (554); Msg: DT:SPM 163 smtp4,HNxpCgAXRzKWndBdnJHmAw–.168S2 1573952939,please see http://mail.163.com/help/help_spam_16.htm?ip=71.79.138.99&hostid=smtp4&time=1573952939
data: (554, ‘DT:SPM 163 smtp4,HNxpCgAXRzKWndBdnJHmAw–.168S2 1573952939,please see http://mail.163.com/help/help_spam_16.htm?ip=71.79.138.99&hostid=smtp4&time=1573952939’)
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
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 185, in sendmail
File “site-packages/calibre/utils/smtplib.py”, line 777, in sendmail
SMTPDataError: (554, ‘DT:SPM 163 smtp4,HNxpCgAXRzKWndBdnJHmAw–.168S2 1573952939,please see http://mail.163.com/help/help_spam_16.htm?ip=71.79.138.99&hostid=smtp4&time=1573952939’)
Job: “Email One For Sorrow to 379563260-1@kindle.cn” 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__
SMTPDataError: (554, ‘DT:SPM 163 smtp4,HNxpCgAXRzKWndBdnJHmAw–.168S2 1573952939,please see http://mail.163.com/help/help_spam_16.htm?ip=71.79.138.99&hostid=smtp4&time=1573952939′)
Called with args: (u’/var/folders/jk/5y2t4clj1d53_l01wp6x3fnw0000gn/C/calibre_4.3.0_tmp_XamREV/5YaNuscaltmpfmt.mobi’, u’One For Sorrow – Christopher Barzak.mobi’, u’379563260-1@kindle.cn’, u’E-book: One For Sorrow’, u’Attached, you will find the e-book\n\nOne For Sorrow\n\tby Christopher Barzak\n\nin the MOBI format.’) {u’abort’: , u’log’: , u’notifications’: }
163 邮箱的官方帮助文档是这样解释的:
至于为什么会被判断为垃圾邮件,就不得而知了。建议你和你换其它邮箱,比如 Outlook 或者Gmail。
好的,我目前曾经发送成功的文档也无法发送了。还是换成Gmail吧。谢谢啦。
请问这是为什么呀,之前还好好的
calibre, version 4.2.0 (win32, embedded-python: True)
无法通过电子邮件发送书籍: 失败: 把 GAMERS电玩咖! 09 雨野景太与青春洗点 发Email到 37458@kindle.cn
Starting job: 把 GAMERS电玩咖! 09 雨野景太与青春洗点 发Email到 37458@kindle.cn
Waiting 1 seconds before sending, to avoid being marked as spam.
You can control this delay via Preferences->Tweaks
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: u’ehlo [192.168.1.7]\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 1Uxr2xKj7kG0xkI17xGrU7I0s8FY2U3Uj8Cz28x1UUUUU7Ic2I0Y2UrFzxoZUCa0xDrUUUUj\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 1Uxr2xKj7kG0xkI17xGrU7I0s8FY2U3Uj8Cz28x1UUUUU7Ic2I0Y2UrFzxoZUCa0xDrUUUUj
STARTTLS
8BITMIME
send: AUTH
reply: ‘550 User is over flow\r\n’
reply: retcode (550); Msg: User is over flow
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 182, in sendmail
File “site-packages\calibre\utils\smtplib.py”, line 645, in login
SMTPAuthenticationError: (550, ‘User is over flow’)
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’, 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: u’ehlo [192.168.1.7]\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 1Uxr2xKj7kG0xkI17xGrU7I0s8FY2U3Uj8Cz28x1UUUUU7Ic2I0Y2UFmvhw0UCa0xDrUUUUj\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 1Uxr2xKj7kG0xkI17xGrU7I0s8FY2U3Uj8Cz28x1UUUUU7Ic2I0Y2UFmvhw0UCa0xDrUUUUj
STARTTLS
8BITMIME
send: AUTH
reply: ‘550 User is over flow\r\n’
reply: retcode (550); Msg: User is over flow
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 182, in sendmail
File “site-packages\calibre\utils\smtplib.py”, line 645, in login
SMTPAuthenticationError: (550, ‘User is over flow’)
Job: “把 GAMERS电玩咖! 09 雨野景太与青春洗点 发Email到 37458@kindle.cn” 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__
SMTPAuthenticationError: (550, ‘User is over flow’)
Called with args: (u’C:\\Users\\Anpoe\\AppData\\Local\\Temp\\calibre_zhxmb2\\csrk75caltmpfmt.mobi’, u’GAMERSDian Wan Ka ! 09 Yu Ye Jing Tai Yu Qing Chun Xi Dian – Kui sekina.mobi’, u’37458@kindle.cn’, u’\u7535\u5b50\u4e66\uff1a GAMERS\u7535\u73a9\u5496\uff01 09 \u96e8\u91ce\u666f\u592a\u4e0e\u9752\u6625\u6d17\u70b9′, u’\u5df2\u6dfb\u52a0, \u4f60\u53ef\u4ee5\u4ece\u4e2d\u83b7\u53d6\u7535\u5b50\u4e66\n\nGAMERS\u7535\u73a9\u5496\uff01 09 \u96e8\u91ce\u666f\u592a\u4e0e\u9752\u6625\u6d17\u70b9\n\t\u7531 \u8475\u305b\u304d\u306a\n\n\u4f7f\u7528 MOBI \u683c\u5f0f.’) {u’notifications’: , u’log’: , u’abort’: }
是否推送次数过多?错误提示
reply: retcode (550); Msg: User is over flow
,应该是说你超出流量了。啊那应该是的,这个流量什么时候重置鸭,一天大概多少
关于限制 163 邮箱没有给出具体数据,一般应该是隔天就能恢复了。现在就要用的话,建议更换其它邮箱。
好的谢谢!
您好,请问这种报错该怎么解决呀,万分感谢
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 142, in sendmail
File “site-packages\calibre\utils\smtp.py”, line 24, in safe_localhost
UnicodeDecodeError: ‘utf8’ codec can’t decode byte 0xb2 in position 0: invalid start byte
Log:
你的 SMTP 配置信息是怎样的,有中文字符吗?
就是按照您的教程设置的,主机名smtp.163.com端口587
之前还可以发送邮件的,后来不知怎么的就一直报错
请将报错的详细日志贴一下,以便排查问题。
calibre, version 3.44.0 (win32, embedded-python: True)
无法通过电子邮件发送书籍: 失败: 把 1Q84 全集 发Email到 851317653@kindle.cn
Starting job: 把 1Q84 全集 发Email到 851317653@kindle.cn
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 142, in sendmail
File “site-packages\calibre\utils\smtp.py”, line 24, in safe_localhost
UnicodeDecodeError: ‘utf8’ codec can’t decode byte 0xb2 in position 0: invalid start byte
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 142, in sendmail
File “site-packages\calibre\utils\smtp.py”, line 24, in safe_localhost
UnicodeDecodeError: ‘utf8’ codec can’t decode byte 0xb2 in position 0: invalid start byte
Job: “把 1Q84 全集 发Email到 851317653@kindle.cn” 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__
UnicodeDecodeError: ‘utf8′ codec can’t decode byte 0xb2 in position 0: invalid start byte
Called with args: (u’C:\\Users\\85131\\AppData\\Local\\Temp\\calibre_3yioat\\yb41mgcaltmpfmt.mobi’, u’1Q84 Quan Ji – Wei Zhi.mobi’, u’851317653@kindle.cn’, u’\u7535\u5b50\u4e66\uff1a 1Q84 \u5168\u96c6′, u’\u5df2\u6dfb\u52a0, \u4f60\u53ef\u4ee5\u4ece\u4e2d\u83b7\u53d6\u7535\u5b50\u4e66\n\n1Q84 \u5168\u96c6\n\t\u7531 \u672a\u77e5\n\n\u4f7f\u7528 MOBI \u683c\u5f0f.’) {u’log’: , u’abort’: , u’notifications’: }
建议你先把 Calibre 升级到最新版本 3.48.0,看看问题还出不出现。如果仍然出现,请截图你填写设置的界面发送到书伴邮箱(页面底部“联系”处获取)。
可以了,终于可以安心传书了,万分感谢
我测试邮件发送的时候,提示下面的错误代码,可是跟您上边列的都不一样,很伤心!
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 159, 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 557, in create_connection
gaierror: [Errno 11003] getaddrinfo failed
Log:
connect: (u’smtp@163.com’, 465)
connect: (u’smtp@163.com’, 465)
163 邮箱的 SMTP 服务器是 smtp.163.com 而不是 smtp@163.com,注意!是点
.
不是@
。怎么重新打开设置服务器界面啊?
在 Calibre 的偏好设置里的邮件设置项中。
Starting job: 把 The Little Book of Common Sense Investing: The Only Way to Guarantee Your Fair Share of Stock Market Returns 发Email到 8618505707442@kindle.cn
connect: (u’smtp.live.com’, 587)
connect: (u’smtp.live.com’, 587)
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 148, in sendmail
File “site-packages/calibre/utils/smtplib.py”, line 338, in connect
File “site-packages/calibre/utils/smtplib.py”, line 831, in _get_socket
File “lib/python2.7/ssl.py”, line 949, in wrap_socket
File “lib/python2.7/ssl.py”, line 617, in __init__
File “lib/python2.7/ssl.py”, line 846, in do_handshake
SSLError: [SSL: UNKNOWN_PROTOCOL] unknown protocol (_ssl.c:726)
Retrying in 301 seconds…
Waiting 301 seconds before sending, to avoid being marked as spam.
You can control this delay via Preferences->Tweaks
文中已经对微软系的邮箱 SMTP 设置做了说明:
Hotmail/Live/Outlook邮箱:主机名 smtp-mail.outlook.com 端口 587(加密类型:TLS)。
您好,出现了以下问题,请问怎么解决呀?非常感谢!
calibre, version 3.44.0 (win32, embedded-python: True)
无法通过电子邮件发送书籍: 失败: 把 《提灯映桃花》by:淮上_20160109221021 发Email到 xi_xi_xiao_ke@kindle.cn
Starting job: 把 《提灯映桃花》by:淮上_20160109221021 发Email到 xi_xi_xiao_ke@kindle.cn
connect: (u’smtp.sina.com’, 465)
connect: (u’smtp.sina.com’, 465)
reply: ‘220 smtp-5-122.smtpsmail.fmail.xd.sinanode.com ESMTP\r\n’
reply: retcode (220); Msg: smtp-5-122.smtpsmail.fmail.xd.sinanode.com ESMTP
connect: smtp-5-122.smtpsmail.fmail.xd.sinanode.com ESMTP
send: u’ehlo [10.15.1.249]\r\n’
reply: ‘250-smtp-5-122.smtpsmail.fmail.xd.sinanode.com\r\n’
reply: ‘250-AUTH LOGIN PLAIN\r\n’
reply: ‘250-AUTH=LOGIN PLAIN\r\n’
reply: ‘250-STARTTLS\r\n’
reply: ‘250 8BITMIME\r\n’
reply: retcode (250); Msg: smtp-5-122.smtpsmail.fmail.xd.sinanode.com
AUTH LOGIN PLAIN
AUTH=LOGIN PLAIN
STARTTLS
8BITMIME
send: AUTH
reply: ‘535 5.7.12 SMTP access disabled\r\n’
reply: retcode (535); Msg: 5.7.12 SMTP access disabled
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 160, in sendmail
File “site-packages\calibre\utils\smtplib.py”, line 645, in login
SMTPAuthenticationError: (535, ‘5.7.12 SMTP access disabled’)
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.sina.com’, 465)
connect: (u’smtp.sina.com’, 465)
reply: ‘220 smtp-5-121.smtpsmail.fmail.xd.sinanode.com ESMTP\r\n’
reply: retcode (220); Msg: smtp-5-121.smtpsmail.fmail.xd.sinanode.com ESMTP
connect: smtp-5-121.smtpsmail.fmail.xd.sinanode.com ESMTP
send: u’ehlo [10.15.1.249]\r\n’
reply: ‘250-smtp-5-121.smtpsmail.fmail.xd.sinanode.com\r\n’
reply: ‘250-AUTH LOGIN PLAIN\r\n’
reply: ‘250-AUTH=LOGIN PLAIN\r\n’
reply: ‘250-STARTTLS\r\n’
reply: ‘250 8BITMIME\r\n’
reply: retcode (250); Msg: smtp-5-121.smtpsmail.fmail.xd.sinanode.com
AUTH LOGIN PLAIN
AUTH=LOGIN PLAIN
STARTTLS
8BITMIME
send: AUTH
reply: ‘535 5.7.12 SMTP access disabled\r\n’
reply: retcode (535); Msg: 5.7.12 SMTP access disabled
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 160, in sendmail
File “site-packages\calibre\utils\smtplib.py”, line 645, in login
SMTPAuthenticationError: (535, ‘5.7.12 SMTP access disabled’)
Job: “把 《提灯映桃花》by:淮上_20160109221021 发Email到 xi_xi_xiao_ke@kindle.cn” 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__
SMTPAuthenticationError: (535, ‘5.7.12 SMTP access disabled’)
Called with args: (u’C:\\Users\\asus\\AppData\\Local\\Temp\\calibre_cwp8jz\\07wgw_caltmpfmt.mobi’, u’__Ti Deng Ying Tao Hua __ by_Huai Shang _20160109221021 – Wei Zhi.mobi’, u’xi_xi_xiao_ke@kindle.cn’, u’\u7535\u5b50\u4e66\uff1a \u300a\u63d0\u706f\u6620\u6843\u82b1\u300bby\uff1a\u6dee\u4e0a_20160109221021′, u’\u5df2\u6dfb\u52a0, \u4f60\u53ef\u4ee5\u4ece\u4e2d\u83b7\u53d6\u7535\u5b50\u4e66\n\n\u300a\u63d0\u706f\u6620\u6843\u82b1\u300bby\uff1a\u6dee\u4e0a_20160109221021\n\t\u7531 \u672a\u77e5\n\n\u4f7f\u7528 MOBI \u683c\u5f0f.’) {u’log’: , u’notifications’: , u’abort’: }
错误信息显示是 SMTP 账户认证被禁用:
SMTPAuthenticationError: (535, ‘5.7.12 SMTP access disabled’)
建议检查你使用的邮箱设置中是否开启了 SMTP 功能。
您好,SMTP都开了但是还是不行,也没有客户端授权密码,出现了这个问题
calibre, version 3.44.0 (win32, embedded-python: True)
无法通过电子邮件发送书籍: 失败: 把 《提灯映桃花》by:淮上_20160109221021 发Email到 xi_xi_xiao_ke@kindle.cn
Starting job: 把 《提灯映桃花》by:淮上_20160109221021 发Email到 xi_xi_xiao_ke@kindle.cn
connect: (u’smtp.sina.com’, 465)
connect: (u’smtp.sina.com’, 465)
reply: ‘220 smtp-2-32.smtpsmail.fmail.yf.sinanode.com ESMTP\r\n’
reply: retcode (220); Msg: smtp-2-32.smtpsmail.fmail.yf.sinanode.com ESMTP
connect: smtp-2-32.smtpsmail.fmail.yf.sinanode.com ESMTP
send: u’ehlo [10.15.1.249]\r\n’
reply: ‘250-smtp-2-32.smtpsmail.fmail.yf.sinanode.com\r\n’
reply: ‘250-AUTH LOGIN PLAIN\r\n’
reply: ‘250-AUTH=LOGIN PLAIN\r\n’
reply: ‘250-STARTTLS\r\n’
reply: ‘250 8BITMIME\r\n’
reply: retcode (250); Msg: smtp-2-32.smtpsmail.fmail.yf.sinanode.com
AUTH LOGIN PLAIN
AUTH=LOGIN PLAIN
STARTTLS
8BITMIME
send: AUTH
reply: ‘535 5.7.8 authentication failed\r\n’
reply: retcode (535); Msg: 5.7.8 authentication failed
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 160, in sendmail
File “site-packages\calibre\utils\smtplib.py”, line 645, in login
SMTPAuthenticationError: (535, ‘5.7.8 authentication failed’)
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.sina.com’, 465)
connect: (u’smtp.sina.com’, 465)
reply: ‘220 smtp-2-194.smtpsmail.fmail.yf.sinanode.com ESMTP\r\n’
reply: retcode (220); Msg: smtp-2-194.smtpsmail.fmail.yf.sinanode.com ESMTP
connect: smtp-2-194.smtpsmail.fmail.yf.sinanode.com ESMTP
send: u’ehlo [10.15.1.249]\r\n’
reply: ‘250-smtp-2-194.smtpsmail.fmail.yf.sinanode.com\r\n’
reply: ‘250-AUTH LOGIN PLAIN\r\n’
reply: ‘250-AUTH=LOGIN PLAIN\r\n’
reply: ‘250-STARTTLS\r\n’
reply: ‘250 8BITMIME\r\n’
reply: retcode (250); Msg: smtp-2-194.smtpsmail.fmail.yf.sinanode.com
AUTH LOGIN PLAIN
AUTH=LOGIN PLAIN
STARTTLS
8BITMIME
send: AUTH
reply: ‘535 5.7.8 authentication failed\r\n’
reply: retcode (535); Msg: 5.7.8 authentication failed
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 160, in sendmail
File “site-packages\calibre\utils\smtplib.py”, line 645, in login
SMTPAuthenticationError: (535, ‘5.7.8 authentication failed’)
Job: “把 《提灯映桃花》by:淮上_20160109221021 发Email到 xi_xi_xiao_ke@kindle.cn” 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__
SMTPAuthenticationError: (535, ‘5.7.8 authentication failed’)
Called with args: (u’C:\\Users\\asus\\AppData\\Local\\Temp\\calibre_cwp8jz\\wn0rascaltmpfmt.mobi’, u’__Ti Deng Ying Tao Hua __ by_Huai Shang _20160109221021 – Wei Zhi.mobi’, u’xi_xi_xiao_ke@kindle.cn’, u’\u7535\u5b50\u4e66\uff1a \u300a\u63d0\u706f\u6620\u6843\u82b1\u300bby\uff1a\u6dee\u4e0a_20160109221021′, u’\u5df2\u6dfb\u52a0, \u4f60\u53ef\u4ee5\u4ece\u4e2d\u83b7\u53d6\u7535\u5b50\u4e66\n\n\u300a\u63d0\u706f\u6620\u6843\u82b1\u300bby\uff1a\u6dee\u4e0a_20160109221021\n\t\u7531 \u672a\u77e5\n\n\u4f7f\u7528 MOBI \u683c\u5f0f.’) {u’log’: , u’notifications’: , u’abort’: }
错误提示 SMTP 账户验证失败:
SMTPAuthenticationError: (535, ‘5.7.8 authentication failed’)
新浪邮箱没有授权码,出现这个错误,要么是用户名输错了,要么是密码输错了,建议仔细检查。
我里自从更新后一直发送不成功,查找了很多次,都不知道是哪里出问题了,能否帮忙看看?
内容如下:
Starting job: 把 摆渡人3:无境之爱 发Email到 pynnthl@kindle.cn
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 142, in sendmail
File “site-packages\calibre\utils\smtp.py”, line 24, in safe_localhost
UnicodeDecodeError: ‘utf8’ codec can’t decode byte 0xb5 in position 0: invalid start byte
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 142, in sendmail
File “site-packages\calibre\utils\smtp.py”, line 24, in safe_localhost
UnicodeDecodeError: ‘utf8’ codec can’t decode byte 0xb5 in position 0: invalid start byte
Job: “把 摆渡人3:无境之爱 发Email到 pynnthl@kindle.cn” 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__
UnicodeDecodeError: ‘utf8′ codec can’t decode byte 0xb5 in position 0: invalid start byte
Called with args: (u’C:\\Users\\Oley\\AppData\\Local\\Temp\\calibre__giwit\\6mmrmecaltmpfmt.mobi’, u’Bai Du Ren 3_Wu Jing Zhi Ai – (Ying )Ke Lai Er _Mai Ke Fu Er.mobi’, u’pynnthl@kindle.cn’, u’\u7535\u5b50\u4e66\uff1a \u6446\u6e21\u4eba3\uff1a\u65e0\u5883\u4e4b\u7231′, u’\u5df2\u6dfb\u52a0, \u4f60\u53ef\u4ee5\u4ece\u4e2d\u83b7\u53d6\u7535\u5b50\u4e66\n\n\u6446\u6e21\u4eba3\uff1a\u65e0\u5883\u4e4b\u7231\n\t\u7531 (\u82f1)\u514b\u83b1\u513f\xb7\u9ea6\u514b\u798f\u5c14\n\n\u4f7f\u7528 MOBI \u683c\u5f0f.’) {u’abort’: , u’log’: , u’notifications’: }
错误信息的重点是下面这一行,显示编码有问题,但是看不出导致问题的具体原因。
UnicodeDecodeError: ‘utf8’ codec can’t decode byte 0xb5 in position 0: invalid start byte
SMTP 设置中有中文字符或特殊字符吗?你测试的所有电子书都会出现这个错误吗?
请问推书的时候这种报错怎么解决呀?谢谢!
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 162, in sendmail
File “site-packages\calibre\utils\smtplib.py”, line 777, 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=MWHPR08MB2959.namprd08.prod.outlook.com]’)
Log:
connect: (u’smtp.live.com’, 587)
connect: (u’smtp.live.com’, 587)
reply: ‘220 HK0PR03CA0054.outlook.office365.com Microsoft ESMTP MAIL Service ready at Fri, 24 May 2019 12:19:23 +0000\r\n’
reply: retcode (220); Msg: HK0PR03CA0054.outlook.office365.com Microsoft ESMTP MAIL Service ready at Fri, 24 May 2019 12:19:23 +0000
connect: HK0PR03CA0054.outlook.office365.com Microsoft ESMTP MAIL Service ready at Fri, 24 May 2019 12:19:23 +0000
send: ‘ehlo [192.168.43.76]\r\n’
reply: ‘250-HK0PR03CA0054.outlook.office365.com Hello [2409:8920:ea0:58d3:5835:25a6:f89a:d94f]\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: HK0PR03CA0054.outlook.office365.com Hello [2409:8920:ea0:58d3:5835:25a6:f89a:d94f]
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 [192.168.43.76]\r\n’
reply: ‘250-HK0PR03CA0054.outlook.office365.com Hello [2409:8920:ea0:58d3:5835:25a6:f89a:d94f]\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: HK0PR03CA0054.outlook.office365.com Hello [2409:8920:ea0:58d3:5835:25a6:f89a:d94f]
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: ‘NTMyMzIxd3N5Y3J3cHM=\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=509\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=”===============2010649289==”\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=MWHPR08MB2959.namprd08.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=MWHPR08MB2959.namprd08.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=MWHPR08MB2959.namprd08.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
这个邮箱是新申请的吗?有没有经过手机验证?
这是什么问题
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 159, in sendmail
File “site-packages\calibre\utils\smtplib.py”, line 605, in login
File “site-packages\calibre\utils\smtplib.py”, line 567, in ehlo_or_helo_if_needed
SMTPHeloError: (500, ‘Error: bad syntax’)
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 3ZM8BKRFGCRLMGG.DHCP HOST\r\n’
reply: ‘500 Error: bad syntax\r\n’
reply: retcode (500); Msg: Error: bad syntax
send: ‘helo 3ZM8BKRFGCRLMGG.DHCP HOST\r\n’
reply: ‘500 Error: bad syntax\r\n’
reply: retcode (500); Msg: Error: bad syntax
请参考本文第二部分的“错误提示之六”。
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 162, in sendmail
File “site-packages\calibre\utils\smtplib.py”, line 762, in sendmail
SMTPSenderRefused: (553, ‘Mail from must equal authorized user’, u’1597701356@qq.com’)
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 [172.28.236.27]\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 1Uxr2xKj7kG0xkI17xGrU7I0s8FY2U3Uj8Cz28x1UUUUU7Ic2I0Y2UrMYqDCUCa0xDrUUUUj\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 1Uxr2xKj7kG0xkI17xGrU7I0s8FY2U3Uj8Cz28x1UUUUU7Ic2I0Y2UrMYqDCUCa0xDrUUUUj
STARTTLS
8BITMIME
send: AUTH
reply: ‘235 Authentication successful\r\n’
reply: retcode (235); Msg: Authentication successful
send: u’mail FROM:\r\n’
reply: ‘553 Mail from must equal authorized user\r\n’
reply: retcode (553); Msg: Mail from must equal authorized user
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
请问这是什么情况?
“发信人地址”和“用户名”需要一致。比如邮箱是 example@163.com,那“发信人地址”和 SMTP 的“用户名”都应该是 example@163.com。
你好,我正常发送六本书后,突然就显示无法发送:
calibre, version 3.18.0 (win32, embedded-python: True)
无法通过电子邮件发送书籍: 失败: 把 《天才作家》 发Email到 8613505612877@kindle.cn
Starting job: 把 《天才作家》 发Email到 8613505612877@kindle.cn
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 DESKTOP-8EBIRJD.xmu.edu.cn\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
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
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 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′)
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.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 DESKTOP-8EBIRJD.xmu.edu.cn\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
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
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 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’)
Job: “把 《天才作家》 发Email到 8613505612877@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__
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′)
Called with args: (u’C:\\Users\\13225\\AppData\\Local\\Temp\\calibre_rzv541\\hpkhimcaltmpfmt.MOBI’, u’__Tian Cai Zuo Jia __ – oBai Ye o.MOBI’, u’8613505612877@kindle.cn’, u’\u7535\u5b50\u4e66\uff1a \u300a\u5929\u624d\u4f5c\u5bb6\u300b’, u’\u5df2\u6dfb\u52a0, \u60a8\u53ef\u4ee5\u4ece\u4e2d\u83b7\u53d6\u7535\u5b50\u4e66\n\n\u300a\u5929\u624d\u4f5c\u5bb6\u300b\n\t\u7531 o\u767d\u91ceo\n\n\u4f7f\u7528 MOBI \u683c\u5f0f.’) {u’abort’: , u’notifications’: , u’log’: }
错误提示中给出了具体信息:
reply: retcode (535); Msg: Error: 请使用授权码登录。详情请看: http://service.mail.qq.com/cgi-bin/help?subtype=1&&id=28&&no=1001256
可能你目前使用的不是授权码,建议按照它的提示换成授权码。