Calibre 使用教程之通过邮箱一键推送 Kindle 电子书

“Calibre教程”相关阅读

给这篇文章写一条留言

提示:带 * 标记的是必填项。您填写的邮箱地址将会被保密。首次留言将会在通过人工审核后显示。如果是提出问题,请务必提供尽可能多信息,这有助于他人更好地理解你所提出的问题。

小伙伴们写下了 737 条留言

  1. 用的是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 的时候,密码要填写生成的授权码。

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

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

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

  4. 之前还好好的,今天突然不能用了。麻烦咨询一下。
    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。

      • 好的,我目前曾经发送成功的文档也无法发送了。还是换成Gmail吧。谢谢啦。

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

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

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

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

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

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

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

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

  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 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

  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 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

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

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

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