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 等其它电子书格式
- Calibre使用教程之为电子书添加或修改封面
- 如何将 Calibre 中的电子书拼音书名保存成中文书名
- 如何修复用 Calibre 通过 USB 导入 Kindle 的电子书封面
- 解决 Calibre 推送“500 Error: bad syntax”错误
- Calibre 常用命令行工具详解之 calibre-smtp
- Calibre 使用教程之抓取 RSS 制成电子书
- 把 TXT 文档转换成带目录的 MOBI 格式电子书
- Calibre 使用教程之为电子书添加更换字体
- Calibre 使用教程之电子书繁体字转简体字
- 用 GitHub Actions 让 Calibre 定时推送新闻到 Kindle
- Calibre 使用教程之转换电子书格式
- Calibre 使用教程之为 Kindle 电子书添加页码
- Calibre 使用教程之批量获取电子书元数据
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 yeah smtp2,C1UQrAD39HABeLlc74KFBg–.6885S2 1555658753,please see http://mail.163.com/help/help_spam_16.htm?ip=125.90.50.129&hostid=smtp2&time=1555658753′)
Log:
connect: (u’smtp.yeah.net’, 465)
connect: (u’smtp.yeah.net’, 465)
reply: ‘220 yeah.net Anti-spam GT for Coremail System (yeah[20141016])\r\n’
reply: retcode (220); Msg: yeah.net Anti-spam GT for Coremail System (yeah[20141016])
connect: yeah.net Anti-spam GT for Coremail System (yeah[20141016])
send: ‘ehlo [10.8.244.254]\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 1Uxr2xKj7kG0xkI17xGrU7I0s8FY2U3Uj8Cz28x1UUUUU7Ic2I0Y2UrIXRrnUCa0xDrUUUUj\r\n’
reply: ‘250-STARTTLS\r\n’
reply: ‘250-SMTPUTF8\r\n’
reply: ‘250 8BITMIME\r\n’
reply: retcode (250); Msg: mail
PIPELINING
AUTH LOGIN PLAIN
AUTH=LOGIN PLAIN
coremail 1Uxr2xKj7kG0xkI17xGrU7I0s8FY2U3Uj8Cz28x1UUUUU7Ic2I0Y2UrIXRrnUCa0xDrUUUUj
STARTTLS
SMTPUTF8
8BITMIME
send: ‘AUTH PLAIN AExVQU5HV0FOSFVBQHllYWgubmV0ADI1MjgxODE1MjZMd2g=\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=”===============0934739787==”\r\nMIME-Version: 1.0\r\nSubject: Test mail from calibre\r\nTo: liangwanhua@kindle.cn\r\nFrom: LUANGWANHUA@yeah.net\r\nDate: Fri, 19 Apr 2019 15:25:54 +0800\r\nMessage-Id: \r\n\r\nYou will not see this in a MIME-aware mail reader.\r\n\r\n–===============0934739787==\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–===============0934739787==–\r\n.\r\n’
reply: ‘554 DT:SPM yeah smtp2,C1UQrAD39HABeLlc74KFBg–.6885S2 1555658753,please see http://mail.163.com/help/help_spam_16.htm?ip=125.90.50.129&hostid=smtp2&time=1555658753\r\n’
reply: retcode (554); Msg: DT:SPM yeah smtp2,C1UQrAD39HABeLlc74KFBg–.6885S2 1555658753,please see http://mail.163.com/help/help_spam_16.htm?ip=125.90.50.129&hostid=smtp2&time=1555658753
data: (554, ‘DT:SPM yeah smtp2,C1UQrAD39HABeLlc74KFBg–.6885S2 1555658753,please see http://mail.163.com/help/help_spam_16.htm?ip=125.90.50.129&hostid=smtp2&time=1555658753’)
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
这个又是?
这和上一个邮箱错误一样。填写 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 162, in sendmail
File “site-packages\calibre\utils\smtplib.py”, line 780, in sendmail
SMTPDataError: (554, ‘DT:SPM 163 smtp8,DMCowACHkwE5V7lcQhZaBA–.21565S2 1555650361,please see http://mail.163.com/help/help_spam_16.htm?ip=125.90.50.129&hostid=smtp8&time=1555650361′)
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 [10.8.244.254]\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 1Uxr2xKj7kG0xkI17xGrU7I0s8FY2U3Uj8Cz28x1UUUUU7Ic2I0Y2UrjuhnyUCa0xDrUUUUj\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 1Uxr2xKj7kG0xkI17xGrU7I0s8FY2U3Uj8Cz28x1UUUUU7Ic2I0Y2UrjuhnyUCa0xDrUUUUj
STARTTLS
8BITMIME
send: ‘AUTH PLAIN AGx3aDIwMTg3MjdAMTYzLmNvbQAyNTI4MTgxNTI2THdo\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=”===============1533145637==”\r\nMIME-Version: 1.0\r\nSubject: Test mail from calibre\r\nTo: liangwanhua@kindle.cn\r\nFrom: lwh2018727@163.com\r\nDate: Fri, 19 Apr 2019 13:06:02 +0800\r\nMessage-Id: \r\n\r\nYou will not see this in a MIME-aware mail reader.\r\n\r\n–===============1533145637==\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–===============1533145637==–\r\n.\r\n’
reply: ‘554 DT:SPM 163 smtp8,DMCowACHkwE5V7lcQhZaBA–.21565S2 1555650361,please see http://mail.163.com/help/help_spam_16.htm?ip=125.90.50.129&hostid=smtp8&time=1555650361\r\n’
reply: retcode (554); Msg: DT:SPM 163 smtp8,DMCowACHkwE5V7lcQhZaBA–.21565S2 1555650361,please see http://mail.163.com/help/help_spam_16.htm?ip=125.90.50.129&hostid=smtp8&time=1555650361
data: (554, ‘DT:SPM 163 smtp8,DMCowACHkwE5V7lcQhZaBA–.21565S2 1555650361,please see http://mail.163.com/help/help_spam_16.htm?ip=125.90.50.129&hostid=smtp8&time=1555650361’)
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
这是什么问题?
参考本文“错误提示之五”。
您好,gmail邮箱出现如下错误是什么原因呢:
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 310, in _get_socket
File “lib/python2.7/socket.py”, line 575, in create_connection
error: [Errno 60] Operation timed out
Log:
connect: (u’smtp.gmail.com’, 587)
connect: (u’smtp.gmail.com’, 587)
错误提示显示操作超时。你使用的是 Gmail 邮箱,确认使用代理了吗?
请问这是出了什么问题呢?
如果你使用的是 163 邮箱,请登陆网页版邮箱,进入【设置】页面,在侧边找到【POP3/SMTP/IMAP】这一项,把“开启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 159, in sendmail
File “site-packages\calibre\utils\smtplib.py”, line 648, in login
SMTPAuthenticationError: (535, ‘Error: authentication failed’)
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.43.193]\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 1Uxr2xKj7kG0xkI17xGrU7I0s8FY2U3Uj8Cz28x1UUUUU7Ic2I0Y2UF5Nt3LUCa0xDrUUUUj\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 1Uxr2xKj7kG0xkI17xGrU7I0s8FY2U3Uj8Cz28x1UUUUU7Ic2I0Y2UF5Nt3LUCa0xDrUUUUj
STARTTLS
8BITMIME
send: ‘AUTH PLAIN AGFidWFsbHJpZ2h0QDE2My5jb20AMTYzKjE5OTgwNDA0MTk4Mg==\r\n’
reply: ‘535 Error: authentication failed\r\n’
reply: retcode (535); Msg: Error: authentication failed
错误提示是账户认证错误。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 10038]
Log:
connect: (u’smtp.163.com’, 465)
connect: (u’smtp.163.com’, 465)
我用的是outlook的邮箱 不知道为什么就这一本书总是不行哎
呜呜呜 求问怎么解决
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__
SMTPSenderRefused: (552, ‘5.3.4 Message size exceeds fixed maximum message size’, u’luvianl1997@outlook.com’)
Outlook 邮箱的附件限制是 20MB,建议检查一下你要推送的电子书是否超过这个大小。
求问以下小编,gmail的为什么不行呢
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 310, in _get_socket
File “lib/python2.7/socket.py”, line 557, in create_connection
gaierror: [Errno 8] nodename nor servname provided, or not known
Log:
connect: (u’xiyueliu5.gmx.com’, 587)
connect: (u’xiyueliu5.gmx.com’, 587)
Gmail 的 SMTP 是 smtp.gmail.com,不是 gmx.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 148, in sendmail
File “site-packages/calibre/utils/smtplib.py”, line 336, in connect
File “site-packages/calibre/utils/smtplib.py”, line 310, in _get_socket
File “lib/python2.7/socket.py”, line 557, in create_connection
gaierror: [Errno 8] nodename nor servname provided, or not known
Log:
connect: (u’xiyueliu5.gmail.com’, 587)
connect: (u’xiyueliu5.gmail.com’, 587)
改了但还是不行
我看你给出的错误提示 SMTP 填写的是“xiyueliu5.gmail.com”,正确的应该是“smtp.gmail.com”。页面中也给出了具体的值,参照填写就可以了。
好的谢谢问题解决了
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 11004] getaddrinfo failed
Log:
connect: (u’13417866689.163.com’, 465)
connect: (u’13417866689.163.com’, 465)
这是什么意思?
SMTP 应该填写 smtp.163.com 而不是你的邮箱地址。
您好!请问 163邮箱正常发送了一本之后发送第二本时出现:
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.3.15\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 1Uxr2xKj7kG0xkI17xGrU7I0s8FY2U3Uj8Cz28x1UUUUU7Ic2I0Y2Ur9wOtCUCa0xDrUUUUj\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 1Uxr2xKj7kG0xkI17xGrU7I0s8FY2U3Uj8Cz28x1UUUUU7Ic2I0Y2Ur9wOtCUCa0xDrUUUUj
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=”===============0329287793061166396==”\r\nMIME-Version: 1.0…
send: ‘quit\r\n’
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 777, in sendmail
File “site-packages/calibre/utils/smtplib.py”, line 535, in data
File “site-packages/calibre/utils/smtplib.py”, line 357, in send
SMTPServerDisconnected: Server not connected
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: ‘ehlo 192.168.3.15\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 1Uxr2xKj7kG0xkI17xGrU7I0s8FY2U3Uj8Cz28x1UUUUU7Ic2I0Y2UFXFM0hUCa0xDrUUUUj\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 1Uxr2xKj7kG0xkI17xGrU7I0s8FY2U3Uj8Cz28x1UUUUU7Ic2I0Y2UFXFM0hUCa0xDrUUUUj
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=”===============5377903626570255964==”\r\nMIME-Version: 1.0…
send: ‘quit\r\n’
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 777, in sendmail
File “site-packages/calibre/utils/smtplib.py”, line 535, in data
File “site-packages/calibre/utils/smtplib.py”, line 357, in send
SMTPServerDisconnected: Server not connected
Job: “把 我的订阅 发Email到 8618868103320@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__
SMTPServerDisconnected: Server not connected
Called with args: (u’/var/folders/dp/07502l7n1zg5c9nmrqc3nzn80000gn/C/calibre_3.39.1_tmp_V7eaZ6/YLbt2Scaltmpfmt.mobi’, u’Wo De Ding Yue – calibre.mobi’, u’8618868103320@kindle.cn’, u’\u7535\u5b50\u4e66\uff1a \u6211\u7684\u8ba2\u9605′, u’\u5df2\u6dfb\u52a0, \u4f60\u53ef\u4ee5\u4ece\u4e2d\u83b7\u53d6\u7535\u5b50\u4e66\n\n\u6211\u7684\u8ba2\u9605\n\t\u7531 calibre\n\n\u4f7f\u7528 MOBI \u683c\u5f0f.’) {u’abort’: , u’notifications’: , u’log’: }
错误信息只显示了 SMTP 服务被断开,但是没有给出具体原因。想用 SMTP 的话个人感觉还是选用 Outlook 或 Gmail 这类国际性的邮箱靠谱,国内的邮箱技术不太行,有时为了防止自己的 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 162, in sendmail
File “site-packages\calibre\utils\smtplib.py”, line 780, in sendmail
SMTPDataError: (554, ‘DT:SPM 163 smtp11,D8CowADXKkw3MWhc+y2vDg–.10629S2 1550332216,please see http://mail.163.com/help/help_spam_16.htm?ip=218.66.9.43&hostid=smtp11&time=1550332216′)
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 DESKTOP-LO5O921.lan\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 1Uxr2xKj7kG0xkI17xGrU7I0s8FY2U3Uj8Cz28x1UUUUU7Ic2I0Y2UrbwSCYUCa0xDrUUUUj\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 1Uxr2xKj7kG0xkI17xGrU7I0s8FY2U3Uj8Cz28x1UUUUU7Ic2I0Y2UrbwSCYUCa0xDrUUUUj
STARTTLS
8BITMIME
send: ‘AUTH PLAIN ADEzNDAwNTg1NTMyQDE2My5jb20AbGlueXVqaWUwMTEx\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=”===============1243049566==”\r\nMIME-Version: 1.0\r\nSubject: Test mail from calibre\r\nTo: 1541215090@kindle.cn\r\nFrom: 13400585532@163.com\r\nDate: Sat, 16 Feb 2019 23:50:16 +0800\r\nMessage-Id: \r\n\r\nYou will not see this in a MIME-aware mail reader.\r\n\r\n–===============1243049566==\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–===============1243049566==–\r\n.\r\n’
reply: ‘554 DT:SPM 163 smtp11,D8CowADXKkw3MWhc+y2vDg–.10629S2 1550332216,please see http://mail.163.com/help/help_spam_16.htm?ip=218.66.9.43&hostid=smtp11&time=1550332216\r\n’
reply: retcode (554); Msg: DT:SPM 163 smtp11,D8CowADXKkw3MWhc+y2vDg–.10629S2 1550332216,please see http://mail.163.com/help/help_spam_16.htm?ip=218.66.9.43&hostid=smtp11&time=1550332216
data: (554, ‘DT:SPM 163 smtp11,D8CowADXKkw3MWhc+y2vDg–.10629S2 1550332216,please see http://mail.163.com/help/help_spam_16.htm?ip=218.66.9.43&hostid=smtp11&time=1550332216’)
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 发送的邮件内容包含了未被许可的信息,或被系统识别为垃圾邮件。建议过一段时间重试,或者更换其它邮箱。
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.yeah.net’, 578)
connect: (u’smtp.yeah.net’, 578)
您好,这是错误代码,我使用了yeah邮箱,开启了SMTP,并设置了客户端授权密码,麻烦帮我看看这是什么问题? 谢谢!
这是 SMTP 的连接问题。你需要检查是否有防火墙,或者用了无效的代理,导致 SMTP 无法正常连接。
求助 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 159, in sendmail
File “site-packages\calibre\utils\smtplib.py”, line 648, in login
SMTPAuthenticationError: (550, ‘User is over flow’)
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 DESKTOP-RTSCOQC.tendawifi.com\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 1Uxr2xKj7kG0xkI17xGrU7I0s8FY2U3Uj8Cz28x1UUUUU7Ic2I0Y2Urvey8HUCa0xDrUUUUj\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 1Uxr2xKj7kG0xkI17xGrU7I0s8FY2U3Uj8Cz28x1UUUUU7Ic2I0Y2Urvey8HUCa0xDrUUUUj
STARTTLS
8BITMIME
send: ‘AUTH PLAIN ADEzODY2NTAxNTAzQDE2My5jb20AMjgxMzM2NTgzMzQyMGE=\r\n’
reply: ‘550 User is over flow\r\n’
reply: retcode (550); Msg: User is over flow
出现这个提示可能是因为你用 SMTP 发送邮件过于频繁,建议等待一段时间再试。
你好,是126邮箱,确定已输入了正确的授权码,别的也都按照说明设置了,但和之前的163邮箱一样报错,邮箱收件箱和垃圾箱都没收到邮件,如下为错误代码,请帮忙看看,谢谢!
是不是网易邮箱都不行?只能使用Hotmail?
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 smtp1,C8mowABnKHut8GJc9chcCQ–.10318S2 1549988013,please see http://mail.163.com/help/help_spam_16.htm?ip=36.248.244.183&hostid=smtp1&time=1549988013′)
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 [192.168.0.128]\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 1Uxr2xKj7kG0xkI17xGrU7I0s8FY2U3Uj8Cz28x1UUUUU7Ic2I0Y2UFu-W5GUCa0xDrUUUUj\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 1Uxr2xKj7kG0xkI17xGrU7I0s8FY2U3Uj8Cz28x1UUUUU7Ic2I0Y2UFu-W5GUCa0xDrUUUUj
STARTTLS
8BITMIME
send: ‘AUTH PLAIN AGxlbW9uZHJvcDA3MDhAMTI2LmNvbQBZS05NRFNLMDcwOA==\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=”===============1909461275==”\r\nMIME-Version: 1.0\r\nSubject: Test mail from calibre\r\nTo: lemondrop0708@kindle.cn\r\nFrom: lemondrop0708@126.com\r\nDate: Wed, 13 Feb 2019 00:14:46 +0800\r\nMessage-Id: \r\n\r\nYou will not see this in a MIME-aware mail reader.\r\n\r\n–===============1909461275==\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–===============1909461275==–\r\n.\r\n’
reply: ‘554 DT:SPM 126 smtp1,C8mowABnKHut8GJc9chcCQ–.10318S2 1549988013,please see http://mail.163.com/help/help_spam_16.htm?ip=36.248.244.183&hostid=smtp1&time=1549988013\r\n’
reply: retcode (554); Msg: DT:SPM 126 smtp1,C8mowABnKHut8GJc9chcCQ–.10318S2 1549988013,please see http://mail.163.com/help/help_spam_16.htm?ip=36.248.244.183&hostid=smtp1&time=1549988013
data: (554, ‘DT:SPM 126 smtp1,C8mowABnKHut8GJc9chcCQ–.10318S2 1549988013,please see http://mail.163.com/help/help_spam_16.htm?ip=36.248.244.183&hostid=smtp1&time=1549988013’)
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 的具体含义,错误提示中提供的链接有解释:
554 DT:SPM 发送的邮件内容包含了未被许可的信息,或被系统识别为垃圾邮件。请检查是否有用户发送病毒或者垃圾邮件。
也就是说你发的邮件被系统识别为垃圾邮件,无法发送。不知道这是不是新注册的邮箱,建议你登录邮箱看看有没有需要验证的地方。
再次打扰了,这次换了hotmail邮箱,测试发送邮件的时候出现了以下乱码:
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, ‘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=PS1PR04MB2981.apcprd04.prod.outlook.com]’)
Log:
connect: (u’smtp.live.com’, 587)
connect: (u’smtp.live.com’, 587)
reply: ‘220 HK0PR03CA0077.outlook.office365.com Microsoft ESMTP MAIL Service ready at Mon, 11 Feb 2019 13:12:09 +0000\r\n’
reply: retcode (220); Msg: HK0PR03CA0077.outlook.office365.com Microsoft ESMTP MAIL Service ready at Mon, 11 Feb 2019 13:12:09 +0000
connect: HK0PR03CA0077.outlook.office365.com Microsoft ESMTP MAIL Service ready at Mon, 11 Feb 2019 13:12:09 +0000
send: ‘ehlo [192.168.1.101]\r\n’
reply: ‘250-HK0PR03CA0077.outlook.office365.com Hello [122.193.197.112]\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: HK0PR03CA0077.outlook.office365.com Hello [122.193.197.112]
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.1.101]\r\n’
reply: ‘250-HK0PR03CA0077.outlook.office365.com Hello [122.193.197.112]\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: HK0PR03CA0077.outlook.office365.com Hello [122.193.197.112]
SIZE 157286400
PIPELINING
DSN
ENHANCEDSTATUSCODES
AUTH LOGIN XOAUTH2
8BITMIME
BINARYMIME
CHUNKING
SMTPUTF8
send: ‘AUTH LOGIN eWNxODkyOTE1NTU5QGhvdG1haWwuY29t\r\n’
reply: ‘334 UGFzc3dvcmQ6\r\n’
reply: retcode (334); Msg: UGFzc3dvcmQ6
send: ‘eWluY2h1cWk3OTExMTlt\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=510\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=”===============0173361457==”\r\nMIME-Version: 1.0\r\nSubject: Test mail from calibre\r\nTo: 892915559@kindle.cn\r\nFrom: ycq892915559@hotmail.com\r\nDate: Mon, 11 Feb 2019 21:12:09 +0800\r\nMessage-Id: \r\n\r\nYou will not see this in a MIME-aware mail reader.\r\n\r\n–===============0173361457==\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–===============0173361457==–\r\n.\r\n’
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=PS1PR04MB2981.apcprd04.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=PS1PR04MB2981.apcprd04.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=PS1PR04MB2981.apcprd04.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
这个问题和网友“王亚雯”的一样。你需要登录邮箱,根据收到的安全验证邮件的提示,验证一下你的邮箱才能用 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 159, in sendmail
File “site-packages\calibre\utils\smtplib.py”, line 648, 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 [192.168.1.101]\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 ADg5MjkxNTU1OUBxcS5jb20AYnZlcHdkZnBndHR1YmFoaQ==\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 发信需要使用“授权码”而不是“邮箱登录密码”。详情可以参考错误代码中提供的链接。
真是不好意思,但是我确实是使用的授权码……
connect: (u’smtp.live.com’, 587)
connect: (u’smtp.live.com’, 587)
reply: ‘220 HK0PR03CA0065.outlook.office365.com Microsoft ESMTP MAIL Service ready at Sun, 20 Jan 2019 05:57:52 +0000\r\n’
reply: retcode (220); Msg: HK0PR03CA0065.outlook.office365.com Microsoft ESMTP MAIL Service ready at Sun, 20 Jan 2019 05:57:52 +0000
connect: HK0PR03CA0065.outlook.office365.com Microsoft ESMTP MAIL Service ready at Sun, 20 Jan 2019 05:57:52 +0000
send: ‘ehlo DESKTOP-95SF5VJ.www.tendawifi.com\r\n’
reply: ‘250-HK0PR03CA0065.outlook.office365.com Hello [111.41.147.131]\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: HK0PR03CA0065.outlook.office365.com Hello [111.41.147.131]
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 DESKTOP-95SF5VJ.www.tendawifi.com\r\n’
reply: ‘250-HK0PR03CA0065.outlook.office365.com Hello [111.41.147.131]\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: HK0PR03CA0065.outlook.office365.com Hello [111.41.147.131]
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: ’emhhbmd4aW4xOTk4MTEwMw==\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=215455\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=”===============0326862150==”\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=TY2PR04MB3326.apcprd04.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=TY2PR04MB3326.apcprd04.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=TY2PR04MB3326.apcprd04.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=TY2PR04MB3326.apcprd04.prod.outlook.com]’)
Retrying in 301 seconds…
Waiting 301 seconds before sending, to avoid being marked as spam.
You can control this delay via Preferences->Tweaks
求助,请问这个是怎么回事呢?使用的hotmail邮箱
这个问题和网友“王亚雯”的一样。你需要登录邮箱,根据收到的安全验证邮件的提示,验证一下你的邮箱才能用 SMTP 发信。