Calibre 使用教程之邮件一键推送电子书

Kindle 伴侣在之前曾经写过一个教程《通过电子邮箱附件推送文档到Kindle》,内容是手动通过电子邮箱推送电子书到【我的内容】,下面介绍的用 Calibre 推送的方法可以使推送过程更加简化。跟着下面的步骤简单的设置以下就可以享受便捷的一键推送了:

一、Calibre 的设置及推送步骤

在开始下面步骤之前请确保你有一个电子邮箱并且你的Kindle设备已经和你的亚马逊账号进行了绑定。如果没有亚马逊账号请点击这里(亚马逊中国)或点击这里(美国亚马逊)先自行注册。详细步骤请参见《通过电子邮箱附件推送文档到Kindle》。

1、下载安装Calibre

Calibre下载页面:https://bookfere.com/tools#calibre

2、添加Kindle接收推送的邮箱

点击“首选项”图标,找到“分享”分类,点击“通过邮件分享”。在弹出的对话框中点击右边的“添加邮件地址”,填入和你的Kindle设备绑定的推送接收邮箱(可添加多个)。接收推送的邮箱可以在【管理我的内容和设备】中的【我的设备】选项卡页面找到。

3、填写推送邮箱

在下面的“发信人地址”中填写你的电子邮箱。注意请确保该邮箱已经添加到亚马逊官网 Kindle 管理后台的【设置】页面中的“已认可的发件人电子邮箱列表”中(这一项在设置页面底部)。

4、设置推送邮箱的邮件服务器

接下来设置“邮件服务器”,如果你用的是gmail或live邮箱,直接点右边相应的图标填写你的邮箱地址及用户名密码即可,软件将会自动为你填写主机名和端口。如果使用其他的邮箱请自行填写邮箱服务器设置并填入你的邮箱用户名和密码。常见的几个邮箱服务器如下:

  • 163 邮箱:主机名 smtp.163.com 端口 465 或 587(加密类型:SSL)*推荐
  • 126 邮箱:主机名 smtp.126.com 端口 465 或 587(加密类型:SSL)
  • yeah 邮箱:主机名 smtp.yeah.net 端口 465 或 587(加密类型:SSL)
  • 新浪邮箱:主机名 smtp.sina.com 端口 端口 465(加密类型:SSL)
  • Gmail 邮箱:主机名 smtp.gmail.com 端口 587(加密类型:TLS)
  • Hotmail/Live/Outlook邮箱:主机名 smtp-mail.outlook.com 端口 587(加密类型:TLS)
  • QQ 邮箱:主机名 smtp.qq.com 端口 465(加密类型:SSL) *不推荐

* 小提示 1: 一定要仔细检查填写的端口是 465 或 587,而不是 465、578等。
* 小提示 2: 以上列出的邮箱附件大小除 Gmail/Outlook 是 25MB 外皆为 50MB。
* 小提示 3: 目前 Gmail 在大陆处于被封锁状态,暂时无法使用。
* 小提示 4: 新注册的 163 邮箱无法立即使用。
* 小提示 5: 163 邮箱如果开启了授权码,请使用授权码而不是登录密码。

邮件参数填写效果如下:

Calibre 邮件参数设置

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

【解决办法】

Windows 下可能会出现此错误,这可能是因为网络属性中的“连接特定的 DNS 后缀”值带有空格导致的。在“控制版面”中打开“网络和共享中心”,点击现在使用的网络连接,然后点击【详细信息】查看“连接特定的 DNS 后缀”的值,看是否带有空格,如果有则需要修改一下。具体步骤为:点击【属性】按钮,双击“Internet 协议版本 4(TCP/IPv4)”这一项,再点击【高级】按钮,切换到“DNS”标签,把“此连接的 DNS 后缀”清空或修改为 HOST,依次确认保存。至此问题可得到解决。via

更详细的操作步骤参见《解决 Calibre 推送“500 Error: bad syntax”错误》这篇文章。

7、错误提示之七

error: [Errno 10060]

【解决办法】

错误提示无法建立连接。检查一下你的电脑是否使用了网络代理,或者有防火墙、病毒软件之类的阻止了 SMTP 的连接。

有帮助,[ 捐助本站 ] 或分享给小伙伴:

发表评论

标注为 * 的是必填项。您填写的邮箱地址将会被保密。如果是在本站首次留言,审核后才能显示。
若提问,请务必描述清楚该问题的前因后果,提供尽可能多的对分析该问题有帮助的线索。

小伙伴们发表了 534 条评论

  1. 用了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还是不行,不知道为什么,不过也没必要弄了。
        感谢帮助!

  2. 我设置好发送测试邮件也提示成功了,但就是收不到亚马孙的客服自动回复,发送到邮箱个人文档里面也没有我发过去的书,真心求帮助,之前用这个已经传了很多,现在不行了。

    • 没收到自动回复说明推送没遇到问题。建议你登录 http://z.cn/myk 检查一下“我的内容”中的待推送队列,看有没有你推送的内容。最近有几位小伙伴反馈收不到,都是因为 Kindle 网络连接有问题导致推延迟。如果有待推送内容,可以重启一下 Kindle 重新联网试试。

  3. 之前还好好的,今天突然不能用了。麻烦咨询一下。
    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 邮箱的官方帮助文档是这样解释的:

      554 DT:SPM 发送的邮件内容包含了未被许可的信息,或被系统识别为垃圾邮件。请检查是否有用户发送病毒或者垃圾邮件;

      至于为什么会被判断为垃圾邮件,就不得而知了。建议你和你换其它邮箱,比如 Outlook 或者Gmail。

  4. 请问这是为什么呀,之前还好好的

    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’: }

  5. 您好,请问这种报错该怎么解决呀,万分感谢
    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:

            • 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,看看问题还出不出现。如果仍然出现,请截图你填写设置的界面发送到书伴邮箱(页面底部“联系”处获取)。

  6. 我测试邮件发送的时候,提示下面的错误代码,可是跟您上边列的都不一样,很伤心!
    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)

  7. 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)。

  8. 您好,出现了以下问题,请问怎么解决呀?非常感谢!
    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’)

          新浪邮箱没有授权码,出现这个错误,要么是用户名输错了,要么是密码输错了,建议仔细检查。

  9. 我里自从更新后一直发送不成功,查找了很多次,都不知道是哪里出问题了,能否帮忙看看?
    内容如下:
    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 设置中有中文字符或特殊字符吗?你测试的所有电子书都会出现这个错误吗?

  10. 请问推书的时候这种报错怎么解决呀?谢谢!
    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

  11. 这是什么问题
    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

  12. 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。

  13. 你好,我正常发送六本书后,突然就显示无法发送:
    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

      可能你目前使用的不是授权码,建议按照它的提示换成授权码。