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

“Calibre教程”相关阅读

给这篇文章写一条留言

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

小伙伴们写下了 737 条留言

  1. 我邮箱测试内容显示:您从2018年5月14日15:12 发出的如下文档无法发送到您指定的Kindle上:
    * Niu Yue Shi Bao [Zhou Yi , 14 5Yue 2018] – calibre.epub

    Kindle个人文档服务目前只能转换并发送以下类型的文档:
    Microsoft Word (.doc, .docx)
    RTF文件(.rtf)
    HTML(.htm, .html)
    TXT文件(.txt)
    Zip, x-zip压缩文件
    Mobi格式电子书

    JPEG (.jpg), GIF (.gif), Bitmap (.bmp) 和 PNG (.png) 格式的图片。
    Adobe PDF (.pdf)文档可维持原文件格式,发送至您的Kindle。

    并且在calibre获取新闻失败显示:bird20168@163.com
    connect: (u’bird20168@163.com’, 587)
    connect: (u’bird20168@163.com’, 587)

    Sending failed…

    Traceback (most recent call last):
    File “site-packages\calibre\gui2\email.py”, line 44, in run
    File “site-packages\calibre\gui2\email.py”, line 134, in sendmail
    File “site-packages\calibre\utils\smtp.py”, line 147, in sendmail
    File “site-packages\calibre\utils\smtplib.py”, line 334, in connect
    File “site-packages\calibre\utils\smtplib.py”, line 829, in _get_socket
    File “socket.py”, line 557, in create_connection
    gaierror: [Errno 11003] getaddrinfo 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’bird20168@163.com’, 587)
    connect: (u’bird20168@163.com’, 587)

    Sending failed…

    Traceback (most recent call last):
    File “site-packages\calibre\gui2\email.py”, line 44, in run
    File “site-packages\calibre\gui2\email.py”, line 134, in sendmail
    File “site-packages\calibre\utils\smtp.py”, line 147, in sendmail
    File “site-packages\calibre\utils\smtplib.py”, line 334, in connect
    File “site-packages\calibre\utils\smtplib.py”, line 829, in _get_socket
    File “socket.py”, line 557, in create_connection
    gaierror: [Errno 11003] getaddrinfo failed

    Job: “把 纽约时报 [周三, 16 5月 2018] 发Email到 bird20168@163.com” failed with error:
    Traceback (most recent call last):
    File “site-packages\calibre\gui2\threaded_jobs.py”, line 84, in start_work
    File “site-packages\calibre\gui2\email.py”, line 101, in __call__
    gaierror: [Errno 11003] getaddrinfo failed

    Called with args: (u’C:\\Users\\\u5929\u57ce\\AppData\\Local\\Temp\\calibre_i65wlw\\psldo7caltmpfmt.epub’, u’Niu Yue Shi Bao [Zhou San , 16 5Yue 2018].epub’, u’bird20168@163.com’, u’\u65b0\u95fb: \u7ebd\u7ea6\u65f6\u62a5 [\u5468\u4e09, 16 5\u6708 2018]’, u’\u9644\u4ef6\u4e2d\u662f calibre \u4e0b\u8f7d\u7684\u671f\u520a \u7ebd\u7ea6\u65f6\u62a5 [\u5468\u4e09, 16 5\u6708 2018]\u3002′) {u’abort’: , u’log’: , u’notifications’: }

  2. calibre, version 3.17.0 (win32, embedded-python: True)
    无法通过电子邮件发送书籍: 失败: 把 法医秦明作品集:幸存者+清道夫+第十一根手指+无声的证词+尸语者(套装共5册)(真实!专业!隐秘!震撼!张若昀、焦俊艳主演法医秦明系列网剧现已火爆开启!) 发Email到 1461565958@kindle.cn

    Starting job: 把 法医秦明作品集:幸存者+清道夫+第十一根手指+无声的证词+尸语者(套装共5册)(真实!专业!隐秘!震撼!张若昀、焦俊艳主演法医秦明系列网剧现已火爆开启!) 发Email到 1461565958@kindle.cn
    connect: (u’smtp.163.com’, 587)
    connect: (u’smtp.163.com’, 587)
    reply: ‘554 HL:ITC 0,163 smtp8,DMCowAAHsnyfeOpah06HCA–.41118S0 1525315743 http://mail.163.com/help/help_spam_16.htm?ip=115.231.223.21&hostid=smtp8&time=1525315743\r\n’
    reply: retcode (554); Msg: HL:ITC 0,163 smtp8,DMCowAAHsnyfeOpah06HCA–.41118S0 1525315743 http://mail.163.com/help/help_spam_16.htm?ip=115.231.223.21&hostid=smtp8&time=1525315743
    connect: HL:ITC 0,163 smtp8,DMCowAAHsnyfeOpah06HCA–.41118S0 1525315743 http://mail.163.com/help/help_spam_16.htm?ip=115.231.223.21&hostid=smtp8&time=1525315743
    send: ‘ehlo YH-P1SG0UE30JBV.lan\r\n’
    reply: ‘421 IP is rejected\r\n’
    reply: retcode (421); Msg: IP is rejected
    send: ‘helo YH-P1SG0UE30JBV.lan\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 154, in sendmail
    File “site-packages\calibre\utils\smtplib.py”, line 607, in login
    File “site-packages\calibre\utils\smtplib.py”, line 567, in ehlo_or_helo_if_needed
    File “site-packages\calibre\utils\smtplib.py”, line 427, in helo
    File “site-packages\calibre\utils\smtplib.py”, line 392, in getreply
    SMTPServerDisconnected: Connection unexpectedly closed

    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’, 587)
    connect: (u’smtp.163.com’, 587)
    reply: ‘554 HL:ITC 0,163 smtp8,DMCowAB3vn2geOpaK0+HCA–.39620S0 1525315745 http://mail.163.com/help/help_spam_16.htm?ip=115.231.223.21&hostid=smtp8&time=1525315745\r\n’
    reply: retcode (554); Msg: HL:ITC 0,163 smtp8,DMCowAB3vn2geOpaK0+HCA–.39620S0 1525315745 http://mail.163.com/help/help_spam_16.htm?ip=115.231.223.21&hostid=smtp8&time=1525315745
    connect: HL:ITC 0,163 smtp8,DMCowAB3vn2geOpaK0+HCA–.39620S0 1525315745 http://mail.163.com/help/help_spam_16.htm?ip=115.231.223.21&hostid=smtp8&time=1525315745
    send: ‘ehlo YH-P1SG0UE30JBV.lan\r\n’
    reply: ‘421 IP is rejected\r\n’
    reply: retcode (421); Msg: IP is rejected
    send: ‘helo YH-P1SG0UE30JBV.lan\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 154, in sendmail
    File “site-packages\calibre\utils\smtplib.py”, line 607, in login
    File “site-packages\calibre\utils\smtplib.py”, line 567, in ehlo_or_helo_if_needed
    File “site-packages\calibre\utils\smtplib.py”, line 427, in helo
    File “site-packages\calibre\utils\smtplib.py”, line 392, in getreply
    SMTPServerDisconnected: Connection unexpectedly closed

    Job: “把 法医秦明作品集:幸存者+清道夫+第十一根手指+无声的证词+尸语者(套装共5册)(真实!专业!隐秘!震撼!张若昀、焦俊艳主演法医秦明系列网剧现已火爆开启!) 发Email到 1461565958@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: Connection unexpectedly closed

    Called with args: (u’C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\calibre_6ejaxz\\ybvamtcaltmpfmt.mobi’, u’Fa Yi Qin Ming Zuo Pin Ji _Xing Cun Zhe _Qing Dao Fu _Di Shi Yi Gen Shou Zhi _Wu Sheng De Zheng Ci _Shi Yu Zhe (Tao Zhuang Gong 5Ce )(Zhen Shi !Zhuan Ye !Yin Mi !Zhen Han !Zhang Ruo Yun , Jiao Jun Yan Zhu Yan Fa Yi Qin Ming Xi Lie Wang Ju Xian Yi Huo Bao Kai Qi !) – Qin Ming.mobi’, u’1461565958@kindle.cn’, u’\u7535\u5b50\u4e66\uff1a \u6cd5\u533b\u79e6\u660e\u4f5c\u54c1\u96c6:\u5e78\u5b58\u8005+\u6e05\u9053\u592b+\u7b2c\u5341\u4e00\u6839\u624b\u6307+\u65e0\u58f0\u7684\u8bc1\u8bcd+\u5c38\u8bed\u8005(\u5957\u88c5\u51715\u518c)\uff08\u771f\u5b9e\uff01\u4e13\u4e1a\uff01\u9690\u79d8\uff01\u9707\u64bc\uff01\u5f20\u82e5\u6600\u3001\u7126\u4fca\u8273\u4e3b\u6f14\u6cd5\u533b\u79e6\u660e\u7cfb\u5217\u7f51\u5267\u73b0\u5df2\u706b\u7206\u5f00\u542f\uff01\uff09′, u’\u5df2\u6dfb\u52a0, \u60a8\u53ef\u4ee5\u4ece\u4e2d\u83b7\u53d6\u7535\u5b50\u4e66\n\n\u6cd5\u533b\u79e6\u660e\u4f5c\u54c1\u96c6:\u5e78\u5b58\u8005+\u6e05\u9053\u592b+\u7b2c\u5341\u4e00\u6839\u624b\u6307+\u65e0\u58f0\u7684\u8bc1\u8bcd+\u5c38\u8bed\u8005(\u5957\u88c5\u51715\u518c)\uff08\u771f\u5b9e\uff01\u4e13\u4e1a\uff01\u9690\u79d8\uff01\u9707\u64bc\uff01\u5f20\u82e5\u6600\u3001\u7126\u4fca\u8273\u4e3b\u6f14\u6cd5\u533b\u79e6\u660e\u7cfb\u5217\u7f51\u5267\u73b0\u5df2\u706b\u7206\u5f00\u542f\uff01\uff09\n\t\u7531 \u79e6\u660e\n\n\u4f7f\u7528 MOBI \u683c\u5f0f.’) {u’log’: , u’notifications’: , u’abort’: }

    我用的是163邮箱,给我跳出这个问题,连接意外挂关闭。
    这我就不大懂了,而且我用了好久的163了,今天传的时候突然这样。

    • 从你提供信息里可以看到 163 返回的错误代码是 421官方文档对这一代码的解释有:存在接收者大量不存在情况、该 IP 发送行为异常、该 IP 同时并发连接数过大、该 IP 短期内发送了大量信件、存在大量伪造发送域域名行为。

      可以自检一下,是否存在短时间内推送很多电子书的情况,如果没有,是否推送任何电子书都会这样,换一个邮箱是否有同样的情况。

  3. 我这是什么错误呢,一直推送失败?详细信息是:
    Starting job: 把 精编蛋白质科学实验指南 发Email到 1154075407@kindle.cn

    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 116, in sendmail
    File “site-packages\calibre\utils\smtp.py”, line 234, in compose_mail
    MemoryError

    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 44, in run
    File “site-packages\calibre\gui2\email.py”, line 116, in sendmail
    File “site-packages\calibre\utils\smtp.py”, line 234, in compose_mail
    MemoryError

    Job: “把 精编蛋白质科学实验指南 发Email到 1154075407@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__
    MemoryError

    Called with args: (u’C:\\Users\\Lenovo\\AppData\\Local\\Temp\\calibre_krpie5\\lkcjd4caltmpfmt.MOBI’, u’Jing Bian Dan Bai Zhi Ke Xue Shi Yan Zhi Nan – (Mei )J.E.Ke Lin Gen Deng Zhu.MOBI’, u’1154075407@kindle.cn’, u’\u7535\u5b50\u4e66\uff1a \u7cbe\u7f16\u86cb\u767d\u8d28\u79d1\u5b66\u5b9e\u9a8c\u6307\u5357′, u’\u5df2\u6dfb\u52a0, \u60a8\u53ef\u4ee5\u4ece\u4e2d\u83b7\u53d6\u7535\u5b50\u4e66\n\n\u7cbe\u7f16\u86cb\u767d\u8d28\u79d1\u5b66\u5b9e\u9a8c\u6307\u5357\n\t\u7531 \uff08\u7f8e\uff09J.E.\u79d1\u6797\u6839\u7b49\u8457\n\n\u4f7f\u7528 MOBI \u683c\u5f0f.’) {u’notifications’: , u’log’: , u’abort’: }

        • 亚马逊个人文档服务最大可接受 50MB 的电子书。一般邮件附件大小有 20MB 的限制(有的邮箱附件最大可支持 50MB)。这本书太大,这两个条件都不满足,所以无法成功推送,只能通过 USB 数据线拷贝到 Kindle 中阅读。

  4. 请问,我在VPS上用的calibre-smtp发送邮件,使用的是GMX邮箱,发送至Gmail邮箱,一直超时,该如何解决呢?
    我用的命令是:
    calibre-smtp –verbose –attachment=”$OUTFILE” –relay=”$SMTP” –port=”$PORT” –username=”$USER” –password=”$PASSWD” –encryption-method=TLS –subject= “$SUBJECTPREFIX ($DATESTR)” “$FROM” “$TO” “$CONTENTPREFIX ($DATESTR)”
    Log 如下:
    connect: (u’mail.gmx.com’, 587)
    connect: (u’mail.gmx.com’, 587)

    Traceback (most recent call last):
    File “site.py”, line 77, in main
    File “site-packages/calibre/utils/smtp.py”, line 291, in main
    File “site-packages/calibre/utils/smtp.py”, line 147, in sendmail
    File “site-packages/calibre/utils/smtplib.py”, line 334, in connect
    File “site-packages/calibre/utils/smtplib.py”, line 309, in _get_socket
    File “socket.py”, line 575, in create_connection
    error: [Errno 110] Connection timed out

      • 嗯,谢谢!这个我注意到了。今天发现是因为 DigitalO 把什么端口禁用了,导致不能发送邮件。

        • 一般 VPS 为防范制造垃圾邮件默认会禁用 25、465、587 端口,不过应该是可以提交工单申请开通的。

          • 谢谢,已经可以了,您真是热心!可以定时获取 RSS,然后通过邮件发送到 kindle 啦 :)

  5. 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 147, in sendmail
    File “site-packages\calibre\utils\smtplib.py”, line 334, in connect
    File “site-packages\calibre\utils\smtplib.py”, line 829, in _get_socket
    File “socket.py”, line 557, in create_connection
    gaierror: [Errno 11004] getaddrinfo failed

    Log:
    connect: (u’smtp.163.com’, 465)
    connect: (u’smtp.163.com’, 465)
    怎么解决

  6. 在calibre 和kindle上所有设置按教程完成,并发送成功测试邮件,用的是163邮箱,客户端授权码也重新设过,并完成测试邮件的发送,仍没有收到推送的电子书,不知何因,请高指点!!!

  7. 求助,怎么都弄不好
    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 147, in sendmail
    File “site-packages\calibre\utils\smtplib.py”, line 334, in connect
    File “site-packages\calibre\utils\smtplib.py”, line 829, in _get_socket
    File “socket.py”, line 557, in create_connection
    gaierror: [Errno 11001] getaddrinfo failed

    Log:
    connect: (u’smtp.163.com’, 465)
    connect: (u’smtp.163.com’, 465)

  8. 发邮件成功了也收到了回复的邮件 但是在发送书籍的时候进度那一栏显示不可用 也发送不出去 求大神指点

  9. 我已使用科学上网,用Gmail发送成功过一次,然后就不行了,查看了log,显示以下错误:
    Starting job: 把 大学之路:陪女儿在美国选大学(上) 发Email到 xxx@kindle.cn
    connect: (u’smtp.gmail.com’, 587)
    connect: (u’smtp.gmail.com’, 587)

    Sending failed…

    Traceback (most recent call last):
    File “site-packages\calibre\gui2\email.py”, line 44, in run
    File “site-packages\calibre\gui2\email.py”, line 134, in sendmail
    File “site-packages\calibre\utils\smtp.py”, line 147, in sendmail
    File “site-packages\calibre\utils\smtplib.py”, line 334, in connect
    File “site-packages\calibre\utils\smtplib.py”, line 309, in _get_socket
    File “socket.py”, line 575, in create_connection
    error: [Errno 10060]

      • 可是我的ss协议可以正常访问Google、YouTube等一系列网站呀,calibre不支持代理模式?

  10. 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 157, in sendmail
    File “site-packages\calibre\utils\smtplib.py”, line 776, in sendmail
    SMTPDataError: (554, ‘DT:SPM 163 smtp9,DcCowAC3yUruIABaNdMfPg–.55325S2 1509957870,please see http://mail.163.com/help/help_spam_16.htm?ip=219.134.192.38&hostid=smtp9&time=1509957870′)

    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 [169.254.54.210]\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 1Uxr2xKj7kG0xkI17xGrU7I0s8FY2U3Uj8Cz28x1UUUUU7Ic2I0Y2UrzsAMJUCa0xDrUUUUj\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 1Uxr2xKj7kG0xkI17xGrU7I0s8FY2U3Uj8Cz28x1UUUUU7Ic2I0Y2UrzsAMJUCa0xDrUUUUj
    STARTTLS
    8BITMIME
    send: ‘AUTH PLAIN ADEzMDU4MDg3MDUzQDE2My5jb20AWjExMTExMQ==\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=”===============0233748704==”\r\nMIME-Version: 1.0\r\nSubject: Test mail from calibre\r\nTo: 2763570910@kindle.cn\r\nFrom: 13058087053@163.com\r\nDate: Mon, 06 Nov 2017 16:44:31 +0800\r\nMessage-Id: \r\n\r\nYou will not see this in a MIME-aware mail reader.\r\n\r\n–===============0233748704==\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–===============0233748704==–\r\n.\r\n’
    reply: ‘554 DT:SPM 163 smtp9,DcCowAC3yUruIABaNdMfPg–.55325S2 1509957870,please see http://mail.163.com/help/help_spam_16.htm?ip=219.134.192.38&hostid=smtp9&time=1509957870\r\n’
    reply: retcode (554); Msg: DT:SPM 163 smtp9,DcCowAC3yUruIABaNdMfPg–.55325S2 1509957870,please see http://mail.163.com/help/help_spam_16.htm?ip=219.134.192.38&hostid=smtp9&time=1509957870
    data: (554, ‘DT:SPM 163 smtp9,DcCowAC3yUruIABaNdMfPg–.55325S2 1509957870,please see http://mail.163.com/help/help_spam_16.htm?ip=219.134.192.38&hostid=smtp9&time=1509957870’)
    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

    非常感谢后台的小伙伴,,,授权码ok了,然后又是新的问题。。。

    • 错误提示中给出了一个链接,163 邮箱给出的具体解释如下:

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

      这个提示比较模糊,需要你多测试测试。比如登录网页版 163 邮箱,试试以附件的形式看看能不能发送。

  11. 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 147, in sendmail
    File “site-packages\calibre\utils\smtplib.py”, line 334, in connect
    File “site-packages\calibre\utils\smtplib.py”, line 828, in _get_socket
    File “socket.py”, line 557, in create_connection
    gaierror: [Errno 11004] getaddrinfo failed

    Log:
    connect: (u’lifan.163.net’, 465)
    connect: (u’lifan.163.net’, 465)

    请问这个是什么原因呢?

    • Traceback (most recent call last):
      File “site-packages\calibre\gui2\wizard\send_email.py”, line 207, in test_email_settings
      File “site-packages\calibre\utils\smtp.py”, line 154, in sendmail
      File “site-packages\calibre\utils\smtplib.py”, line 647, in login
      SMTPAuthenticationError: (535, ‘Error: 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 [169.254.54.210]\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 1Uxr2xKj7kG0xkI17xGrU7I0s8FY2U3Uj8Cz28x1UUUUU7Ic2I0Y2UFUFdzoUCa0xDrUUUUj\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 1Uxr2xKj7kG0xkI17xGrU7I0s8FY2U3Uj8Cz28x1UUUUU7Ic2I0Y2UFUFdzoUCa0xDrUUUUj
      STARTTLS
      8BITMIME
      send: ‘AUTH PLAIN ADEzMDU4MDg3MDUzQDE2My5jb20AMTExMTEx\r\n’
      reply: ‘535 Error: authentication failed\r\n’
      reply: retcode (535); Msg: Error: authentication failed

      改了正确的主机名,错误变成了这个QAQ

      • 这是用户验证错误,注意 163 的 SMTP 需要要使用授权码,而不是邮箱密码。如果使用的就是授权码,还是出现这个错误,可以尝试重新生成一下授权码。

  12. 按步骤都设置好了,但是有些书可以发送,有些书一直都发送失败,这是怎么回事

    • 发送失败的原因有很多,需要具体问题具体分析。一般出现错误会有错误提示,建议参考错误日志的提示检查问题所在。

  13. 按照教程把密码改成邮箱的授权码了但是还是出现这样的结果是怎么一回事呢,求解答,谢谢
    Traceback (most recent call last):
    File “site-packages\calibre\gui2\wizard\send_email.py”, line 207, in test_email_settings
    File “site-packages\calibre\utils\smtp.py”, line 154, in sendmail
    File “site-packages\calibre\utils\smtplib.py”, line 647, in login
    SMTPAuthenticationError: (535, ‘Error: authentication failed’)

    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 [10.21.234.88]\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 1Uxr2xKj7kG0xkI17xGrU7I0s8FY2U3Uj8Cz28x1UUUUU7Ic2I0Y2UF1DRDJUCa0xDrUUUUj\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 1Uxr2xKj7kG0xkI17xGrU7I0s8FY2U3Uj8Cz28x1UUUUU7Ic2I0Y2UF1DRDJUCa0xDrUUUUj
    STARTTLS
    8BITMIME
    send: ‘AUTH PLAIN AHkxMDExMjc0NzQ0QDEyNi5jb20AeTYxMDgy\r\n’
    reply: ‘535 Error: authentication failed\r\n’
    reply: retcode (535); Msg: Error: authentication failed

    • 错误提示仍是帐户认证错误。首先检查一下邮箱设置中 SMTP 功能是否已打开。如果已打开,检查授权码输入的是否无误。如果设置和授权码都没问题,尝试重新设置一遍授权码,再重试。

  14. 请问这是怎么了呢
    Traceback (most recent call last):
    File “site-packages\calibre\gui2\wizard\send_email.py”, line 207, in test_email_settings
    File “site-packages\calibre\utils\smtp.py”, line 154, in sendmail
    File “site-packages\calibre\utils\smtplib.py”, line 647, in login
    SMTPAuthenticationError: (535, ‘5.7.12 SMTP access disabled’)

    Log:
    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: ‘ehlo LAPTOP-GALLN6OT.nwsuaf.edu.cn\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 PLAIN AGtvdG9naXJ1QHNpbmEuY29tADc0ODg1MjE=\r\n’
    reply: ‘535 5.7.12 SMTP access disabled\r\n’
    reply: retcode (535); Msg: 5.7.12 SMTP access disabled

  15. 请问这是为什么?
    Traceback (most recent call last):
    File “site-packages\calibre\gui2\wizard\send_email.py”, line 207, in test_email_settings
    File “site-packages\calibre\utils\smtp.py”, line 154, in sendmail
    File “site-packages\calibre\utils\smtplib.py”, line 647, in login
    SMTPAuthenticationError: (535, ‘Error: authentication failed’)

    Log:
    connect: (u’smtp.163.com’, 587)
    connect: (u’smtp.163.com’, 587)
    reply: ‘220 163.com Anti-spam GT for Coremail System (163com[20141201])\r\n’
    reply: retcode (220); Msg: 163.com Anti-spam GT for Coremail System (163com[20141201])
    connect: 163.com Anti-spam GT for Coremail System (163com[20141201])
    send: ‘ehlo asus.sysu.edu.cn\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 1Uxr2xKj7kG0xkI17xGrU7I0s8FY2U3Uj8Cz28x1UUUUU7Ic2I0Y2UrwthfaUCa0xDrUUUUj\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 1Uxr2xKj7kG0xkI17xGrU7I0s8FY2U3Uj8Cz28x1UUUUU7Ic2I0Y2UrwthfaUCa0xDrUUUUj
    STARTTLS
    8BITMIME
    send: ‘AUTH PLAIN AGNzdXF6enhAMTYzLmNvbQBseHFnemxqcjEwMjI=\r\n’
    reply: ‘535 Error: authentication failed\r\n’
    reply: retcode (535); Msg: Error: authentication failed

    • 这是用户验证错误。使用 163 的 SMTP 客户端,必须在设置中开启 SMTP 功能,且必须使用“授权码”。如果以上条件满足,建议更换“授权码”再重试。

  16. 被’500 Error: bad syntax\r\n’困扰了好久,终于找到了解决方法,感谢大神,链接在此,http://www.jianshu.com/p/5419706229a0