Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Devices

Notices

Reply
 
Thread Tools Search this Thread
Old 10-29-2018, 04:15 AM   #16
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,835
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
add an exception to it for calibre.exe and calibre_parallel.exe
kovidgoyal is online now   Reply With Quote
Old 11-02-2018, 05:21 PM   #17
ofearna
Junior Member
ofearna began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Oct 2018
Location: Flagstaff, AZ
Device: kindle
I'll try it!

Quote:
Originally Posted by kovidgoyal View Post
add an exception to it for calibre.exe and calibre_parallel.exe
Thanks! I'll try that.
ofearna is offline   Reply With Quote
Old 11-02-2018, 05:29 PM   #18
ofearna
Junior Member
ofearna began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Oct 2018
Location: Flagstaff, AZ
Device: kindle
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 136, in sendmail
File "site-packages\calibre\utils\smtp.py", line 128, in sendmail_direct
IOError: Failed to send mail: SMTPServerDisconnected('Connection unexpectedly closed: [Errno 10053] An established connection was aborted by the software in your host machine',)
ofearna is offline   Reply With Quote
Old 11-02-2018, 05:38 PM   #19
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,768
Karma: 54401244
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by ofearna View Post
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 136, in sendmail
File "site-packages\calibre\utils\smtp.py", line 128, in sendmail_direct
IOError: Failed to send mail: SMTPServerDisconnected('Connection unexpectedly closed: [Errno 10053] An established connection was aborted by the software in your host machine',)
That says the SERVER hung up on you. Maybe you are using the wrong password or encryption?
If this is Amazon, you need to go to Manage my Content and Devices and set up the Approved Personal Document E-mail List
theducks is offline   Reply With Quote
Old 11-03-2018, 12:26 AM   #20
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,835
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You are trying to send email directly you need to setup a mail relay such as GMX or hotmail, see faq email
kovidgoyal is online now   Reply With Quote
Old 12-08-2018, 09:15 AM   #21
jaslerx
Junior Member
jaslerx began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Dec 2017
Device: iPad 4 (use calibre companion & Marvin3)
I'm getting a similar result, failing to send email. I'm using a gmx account and have smtp enabled in their security settings. I also have added an exception for calibre & calibre_parallel in my antivirus and firewall.

This is the log:

connect: (u'mail.gmx.com', 587)
connect: (u'mail.gmx.com', 587)
reply: '220 gmx.com (mrgmx001) Nemesis ESMTP Service ready\r\n'
reply: retcode (220); Msg: gmx.com (mrgmx001) Nemesis ESMTP Service ready
connect: gmx.com (mrgmx001) Nemesis ESMTP Service ready
send: 'ehlo [192.168.0.12]\r\n'
reply: '250-gmx.com Hello [192.168.0.12] [208.96.85.190]\r\n'
reply: '250-8BITMIME\r\n'
reply: '250-AUTH LOGIN PLAIN\r\n'
reply: '250-SIZE 69920427\r\n'
reply: '250 STARTTLS\r\n'
reply: retcode (250); Msg: gmx.com Hello [192.168.0.12] [208.96.85.190]
8BITMIME
AUTH LOGIN PLAIN
SIZE 69920427
STARTTLS
send: AUTH
reply: '530 Must issue a STARTTLS command first\r\n'
reply: retcode (530); Msg: Must issue a STARTTLS command first

Any ideas?
jaslerx is offline   Reply With Quote
Old 12-08-2018, 10:00 PM   #22
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 35,280
Karma: 145435140
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by jaslerx View Post
I'm getting a similar result, failing to send email. I'm using a gmx account and have smtp enabled in their security settings. I also have added an exception for calibre & calibre_parallel in my antivirus and firewall.

This is the log:
AUTH LOGIN PLAIN
SIZE 69920427
STARTTLS
send: AUTH
reply: '530 Must issue a STARTTLS command first\r\n'
reply: retcode (530); Msg: Must issue a STARTTLS command first

Any ideas?
Given the STARTTLS line, have you enabled TLS in the setting for your email server in calibre? I have TLS selected in the encryption and seems to be working just fine. I've attached an screencap of the setup I am using.

Edit: added the debug log from a successful send from my system:
Spoiler:

Code:
Starting job: Email 12 34567890 ABCDEF1 to xxxxyyyyzzz@washout.ca	connect: (u'mail.gmx.com', 587) 
	connect: (u'mail.gmx.com', 587) 
	reply: '220 gmx.com (mrgmx003) Nemesis ESMTP Service ready\r\n' 
	reply: retcode (220); Msg: gmx.com (mrgmx003) Nemesis ESMTP Service ready 
	connect: gmx.com (mrgmx003) Nemesis ESMTP Service ready 
	send: 'ehlo [192.168.38.1]\r\n' 
	reply: '250-gmx.com Hello [192.168.38.1] [96.49.89.44]\r\n' 
	reply: '250-8BITMIME\r\n' 
	reply: '250-AUTH LOGIN PLAIN\r\n' 
	reply: '250-SIZE 69920427\r\n' 
	reply: '250 STARTTLS\r\n' 
	reply: retcode (250); Msg: gmx.com Hello [192.168.38.1] [96.49.89.44]
	8BITMIME
	AUTH LOGIN PLAIN
	SIZE 69920427
	STARTTLS 
	send: 'STARTTLS\r\n' 
	reply: '220 OK\r\n' 
	reply: retcode (220); Msg: OK 
	send: 'ehlo [192.168.38.1]\r\n' 
	reply: '250-gmx.com Hello [192.168.38.1] [96.49.89.44]\r\n' 
	reply: '250-8BITMIME\r\n' 
	reply: '250-AUTH LOGIN PLAIN\r\n' 
	reply: '250 SIZE 69920427\r\n' 
	reply: retcode (250); Msg: gmx.com Hello [192.168.38.1] [96.49.89.44]
	8BITMIME
	AUTH LOGIN PLAIN
	SIZE 69920427 
	send: AUTH <censored> 
	reply: '235 Authentication succeeded\r\n' 
	reply: retcode (235); Msg: Authentication succeeded 
	send: u'mail FROM:<xxxxyyyyzzz@gmx.com> size=1088476\r\n' 
	reply: '250 Requested mail action okay, completed\r\n' 
	reply: retcode (250); Msg: Requested mail action okay, completed 
	send: u'rcpt TO:<xxxxyyyyzzz@washout.ca>\r\n' 
	reply: '250 OK\r\n' 
	reply: retcode (250); Msg: OK 
	send: 'data\r\n' 
	reply: '354 Start mail input; end with <CRLF>.<CRLF>\r\n' 
	reply: retcode (354); Msg: Start mail input; end with <CRLF>.<CRLF> 
	data: (354, 'Start mail input; end with <CRLF>.<CRLF>') 
	send: 'Content-Type: multipart/mixed; boundary="===============0803863480=="\r\nMIME-Version: 1.0\r\nSubje... 
	reply: '250 Requested mail action okay, completed: id=0LmKag-1h5R8W1OHC-00Zx7z\r\n' 
	reply: retcode (250); Msg: Requested mail action okay, completed: id=0LmKag-1h5R8W1OHC-00Zx7z 
	data: (250, 'Requested mail action okay, completed: id=0LmKag-1h5R8W1OHC-00Zx7z') 
	send: 'quit\r\n' 
	reply: '221 gmx.com Service closing transmission channel\r\n' 
	reply: retcode (221); Msg: gmx.com Service closing transmission channel 
	Email successfully sent
Attached Thumbnails
Click image for larger version

Name:	gmx_setup.PNG
Views:	790
Size:	12.1 KB
ID:	168244  

Last edited by DNSB; 12-08-2018 at 10:15 PM.
DNSB is offline   Reply With Quote
Old 12-12-2018, 10:23 PM   #23
jaslerx
Junior Member
jaslerx began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Dec 2017
Device: iPad 4 (use calibre companion & Marvin3)
The TLS setting seems to have done the trick. Thanks, DNSB!
jaslerx is offline   Reply With Quote
Old 06-25-2019, 04:30 PM   #24
Dyxan
Junior Member
Dyxan began at the beginning.
 
Posts: 7
Karma: 10
Join Date: May 2019
Device: Kindle 8
I have a bit different error message but problem is same: CANNOT send email from CALIBRE for some time (in the past it worked fine).
All I get when trying to use "TEST-EMAIL button" is this error message.
(It seems probably as well something in PYTHON, I was not able to find any solution in any other forum):
"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 0xe8 in position 2: invalid continuation byte


Log:
"
can somebody please help me with an solution idea?


thx
Dyxan is offline   Reply With Quote
Old 06-25-2019, 06:20 PM   #25
slm
Fool
slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.
 
Posts: 377
Karma: 3557934
Join Date: Feb 2003
Device: Kindle Voyage, Kindle PW1, Kobo Glo HD, Nook Glowlight Plus ...
If you using gmx mail, you need to login on at their site (every six months, I think) or they cut the Calibre altempts.

Sent from my XT1635-02 using Tapatalk
slm is offline   Reply With Quote
Old 06-25-2019, 11:13 PM   #26
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,835
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
@DYxan: This should take care fo it: https://github.com/kovidgoyal/calibr...f1be9f19901dbd
kovidgoyal is online now   Reply With Quote
Old 11-02-2019, 04:08 PM   #27
sajfsajf
Junior Member
sajfsajf began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Nov 2019
Device: None
Calibre Email to Kindle Issue

I am having similar "Email to Kindle" issues with Calibre (v4.2), and am not sure what to do. Tried to check everything I have found on similar threads, but have not been having any success.

Issue: The job fails when trying to email to Kindle

Error Message when Trying with GMX:
Spoiler:
Starting job: Email TestBook to censoreduser@kindle.com
connect: (u'mail.gmx.com', 587)
connect: (u'mail.gmx.com', 587)
reply: '220 gmx.com (mrgmx004) Nemesis ESMTP Service ready\r\n'
reply: retcode (220); Msg: gmx.com (mrgmx004) Nemesis ESMTP Service ready
connect: gmx.com (mrgmx004) Nemesis ESMTP Service ready
send: u'ehlo CensoredComp.domain.actdsltmp\r\n'
reply: '250-gmx.com Hello CensoredComp.domain.actdsltmp [CensoredIP]\r\n'
reply: '250-8BITMIME\r\n'
reply: '250-AUTH LOGIN PLAIN\r\n'
reply: '250-SIZE 69920427\r\n'
reply: '250 STARTTLS\r\n'
reply: retcode (250); Msg: gmx.com Hello CensoredComp.domain.actdsltmp [CensoredIP]
8BITMIME
AUTH LOGIN PLAIN
SIZE 69920427
STARTTLS
send: 'STARTTLS\r\n'
reply: '220 OK\r\n'
reply: retcode (220); Msg: OK
send: u'ehlo CensoredComp.domain.actdsltmp\r\n'
reply: '250-gmx.com Hello CensoredComp.domain.actdsltmp [CensoredIP]\r\n'
reply: '250-8BITMIME\r\n'
reply: '250-AUTH LOGIN PLAIN\r\n'
reply: '250 SIZE 69920427\r\n'
reply: retcode (250); Msg: gmx.com Hello CensoredComp.domain.actdsltmp [CensoredIP]
8BITMIME
AUTH LOGIN PLAIN
SIZE 69920427
send: AUTH <censored>
reply: '235 Authentication succeeded\r\n'
reply: retcode (235); Msg: Authentication succeeded
send: u'mail FROM:<censoreduser@gmx.com> size=3477720\r\n'
reply: '250 Requested mail action okay, completed\r\n'
reply: retcode (250); Msg: Requested mail action okay, completed
send: u'rcpt TO:<censoreduser@kindle.com>\r\n'
reply: '250 OK\r\n'
reply: retcode (250); Msg: OK
send: 'data\r\n'
reply: '354 Start mail input; end with <CRLF>.<CRLF>\r\n'
reply: retcode (354); Msg: Start mail input; end with <CRLF>.<CRLF>
data: (354, 'Start mail input; end with <CRLF>.<CRLF>')
send: 'Content-Type: multipart/mixed; boundary="===============1444180317=="\r\nMIME-Version: 1.0\r\nSubje...
send: 'quit\r\n'

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 774, in sendmail
File "site-packages\calibre\utils\smtplib.py", line 532, in data
File "site-packages\calibre\utils\smtplib.py", line 354, in send
SMTPServerDisconnected: Server not connected

Retrying in 1 seconds...
Waiting 1 seconds before sending, to avoid being marked as spam.
You can control this delay via Preferences->Tweaks
connect: (u'mail.gmx.com', 587)
connect: (u'mail.gmx.com', 587)
reply: '220 gmx.com (mrgmx004) Nemesis ESMTP Service ready\r\n'
reply: retcode (220); Msg: gmx.com (mrgmx004) Nemesis ESMTP Service ready
connect: gmx.com (mrgmx004) Nemesis ESMTP Service ready
send: u'ehlo CensoredComp.domain.actdsltmp\r\n'
reply: '250-gmx.com Hello CensoredComp.domain.actdsltmp [CensoredIP]\r\n'
reply: '250-8BITMIME\r\n'
reply: '250-AUTH LOGIN PLAIN\r\n'
reply: '250-SIZE 69920427\r\n'
reply: '250 STARTTLS\r\n'
reply: retcode (250); Msg: gmx.com Hello CensoredComp.domain.actdsltmp [CensoredIP]
8BITMIME
AUTH LOGIN PLAIN
SIZE 69920427
STARTTLS
send: 'STARTTLS\r\n'
reply: '220 OK\r\n'
reply: retcode (220); Msg: OK
send: u'ehlo CensoredComp.domain.actdsltmp\r\n'
reply: '250-gmx.com Hello CensoredComp.domain.actdsltmp [CensoredIP]\r\n'
reply: '250-8BITMIME\r\n'
reply: '250-AUTH LOGIN PLAIN\r\n'
reply: '250 SIZE 69920427\r\n'
reply: retcode (250); Msg: gmx.com Hello CensoredComp.domain.actdsltmp [CensoredIP]
8BITMIME
AUTH LOGIN PLAIN
SIZE 69920427
send: AUTH <censored>
reply: '235 Authentication succeeded\r\n'
reply: retcode (235); Msg: Authentication succeeded
send: u'mail FROM:<censoreduser@gmx.com> size=3477720\r\n'
reply: '250 Requested mail action okay, completed\r\n'
reply: retcode (250); Msg: Requested mail action okay, completed
send: u'rcpt TO:<censoreduser@kindle.com>\r\n'
reply: '250 OK\r\n'
reply: retcode (250); Msg: OK
send: 'data\r\n'
reply: '354 Start mail input; end with <CRLF>.<CRLF>\r\n'
reply: retcode (354); Msg: Start mail input; end with <CRLF>.<CRLF>
data: (354, 'Start mail input; end with <CRLF>.<CRLF>')
send: 'Content-Type: multipart/mixed; boundary="===============1051987160=="\r\nMIME-Version: 1.0\r\nSubje...
send: 'quit\r\n'

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 774, in sendmail
File "site-packages\calibre\utils\smtplib.py", line 532, in data
File "site-packages\calibre\utils\smtplib.py", line 354, in send
SMTPServerDisconnected: Server not connected
Job: "Email TestBook1 to censoreduser@kindle.com" 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__
SMTPServerDisconnected: Server not connected
Called with args: (u'C:\\Users\\censoreduser\\AppData\\Local\\Temp\\ calibre_jpl6v6\\wsagyocaltmpfmt.mobi', u'TestBook1 - TestAuthor.mobi', u'censoreduser@kindle.com', u'E-book: TestBook1', u'Attached, you will find the e-book\n\nTestBook1\n\tby TestAuthor\n\nin the MOBI format.') {u'notifications': <Queue.Queue instance at 0x0000023EA38AEBC8>, u'log': <calibre.utils.logging.GUILog object at 0x0000023EA38AE9C8>, u'abort': <threading._Event object at 0x0000023EA38AE888>}


Error Message when Trying with GMail:
Spoiler:
Starting job: Email TestBook2 to censoreduser@kindle.com
connect: (u'smtp.gmail.com', 587)
connect: (u'smtp.gmail.com', 587)
reply: '220 smtp.gmail.com ESMTP l14sm3270311qkj.61 - gsmtp\r\n'
reply: retcode (220); Msg: smtp.gmail.com ESMTP l14sm3270311qkj.61 - gsmtp
connect: smtp.gmail.com ESMTP l14sm3270311qkj.61 - gsmtp
send: u'ehlo CensoredComp.domain.actdsltmp\r\n'
reply: '250-smtp.gmail.com at your service, [CensoredIP]\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, [CensoredIP]
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 CensoredComp.domain.actdsltmp\r\n'
reply: '250-smtp.gmail.com at your service, [CensoredIP]\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, [CensoredIP]
SIZE 35882577
8BITMIME
AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH
ENHANCEDSTATUSCODES
PIPELINING
CHUNKING
SMTPUTF8
send: AUTH <censored>
reply: '235 2.7.0 Accepted\r\n'
reply: retcode (235); Msg: 2.7.0 Accepted
send: u'mail FROM:<censoreduser@gmail.com> size=6800036\r\n'
reply: '250 2.1.0 OK l14sm3270311qkj.61 - gsmtp\r\n'
reply: retcode (250); Msg: 2.1.0 OK l14sm3270311qkj.61 - gsmtp
send: u'rcpt TO:<censoreduser@kindle.com>\r\n'
reply: '250 2.1.5 OK l14sm3270311qkj.61 - gsmtp\r\n'
reply: retcode (250); Msg: 2.1.5 OK l14sm3270311qkj.61 - gsmtp
send: 'data\r\n'
reply: '354 Go ahead l14sm3270311qkj.61 - gsmtp\r\n'
reply: retcode (354); Msg: Go ahead l14sm3270311qkj.61 - gsmtp
data: (354, 'Go ahead l14sm3270311qkj.61 - gsmtp')
send: 'Content-Type: multipart/mixed; boundary="===============0775040686=="\r\nMIME-Version: 1.0\r\nSubje...
send: 'quit\r\n'

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 774, in sendmail
File "site-packages\calibre\utils\smtplib.py", line 532, in data
File "site-packages\calibre\utils\smtplib.py", line 354, in send
SMTPServerDisconnected: Server not connected

Retrying in 1 seconds...
Waiting 1 seconds before sending, to avoid being marked as spam.
You can control this delay via Preferences->Tweaks
connect: (u'smtp.gmail.com', 587)
connect: (u'smtp.gmail.com', 587)
reply: '220 smtp.gmail.com ESMTP z70sm6137007qkb.60 - gsmtp\r\n'
reply: retcode (220); Msg: smtp.gmail.com ESMTP z70sm6137007qkb.60 - gsmtp
connect: smtp.gmail.com ESMTP z70sm6137007qkb.60 - gsmtp
send: u'ehlo CensoredComp.domain.actdsltmp\r\n'
reply: '250-smtp.gmail.com at your service, [CensoredIP]\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, [CensoredIP]
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 CensoredComp.domain.actdsltmp\r\n'
reply: '250-smtp.gmail.com at your service, [CensoredIP]\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, [CensoredIP]
SIZE 35882577
8BITMIME
AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH
ENHANCEDSTATUSCODES
PIPELINING
CHUNKING
SMTPUTF8
send: AUTH <censored>
reply: '235 2.7.0 Accepted\r\n'
reply: retcode (235); Msg: 2.7.0 Accepted
send: u'mail FROM:<censoreduser@gmail.com> size=6800036\r\n'
reply: '250 2.1.0 OK z70sm6137007qkb.60 - gsmtp\r\n'
reply: retcode (250); Msg: 2.1.0 OK z70sm6137007qkb.60 - gsmtp
send: u'rcpt TO:<censoreduser@kindle.com>\r\n'
reply: '250 2.1.5 OK z70sm6137007qkb.60 - gsmtp\r\n'
reply: retcode (250); Msg: 2.1.5 OK z70sm6137007qkb.60 - gsmtp
send: 'data\r\n'
reply: '354 Go ahead z70sm6137007qkb.60 - gsmtp\r\n'
reply: retcode (354); Msg: Go ahead z70sm6137007qkb.60 - gsmtp
data: (354, 'Go ahead z70sm6137007qkb.60 - gsmtp')
send: 'Content-Type: multipart/mixed; boundary="===============1347068378=="\r\nMIME-Version: 1.0\r\nSubje...
send: 'quit\r\n'

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 774, in sendmail
File "site-packages\calibre\utils\smtplib.py", line 532, in data
File "site-packages\calibre\utils\smtplib.py", line 354, in send
SMTPServerDisconnected: Server not connected
Job: "Email TestBook2 to censoreduser@kindle.com" 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__
SMTPServerDisconnected: Server not connected
Called with args: (u'C:\\Users\\censored\\AppData\\Local\\Temp\\cali bre_jpl6v6\\bulclbcaltmpfmt.mobi', u'TestBook2 - TestAuthor.mobi', u'censoreduser@kindle.com', u'E-book: TestBook2', u'Attached, you will find the e-book\n\nTestBook2\n\tby TestAuthor\n\nin the MOBI format.') {u'notifications': <Queue.Queue instance at 0x0000023EA0C37B08>, u'log': <calibre.utils.logging.GUILog object at 0x0000023EA0AEF748>, u'abort': <threading._Event object at 0x0000023EA0AEF188>}


Details and Confirmations:
  • File type of books was MOBI (two different books used in tests, both actual books).
  • Kindle address was confirmed, and when I tried to send a file attached to an email from my GMail account, it worked fine. Same initial issue with another Kindle address (my mother's).
  • The GMX address was created for this, and I enabled the option "Enable access to this account via POP3 and IMAP" in their settings. In Calibre's options, I used the default Hostname (mail.gmx.com), with TLS encryption and port 587. Username (including gmx bit at end) and password were checked, and a test email to some other email addresses works fine.
  • Used my current GMail address next (after approximately infinite errors). I set up Calibre as an allowed app at security.gmail.com, and got an app-specific password. In Calibre's options, I used the Hostname (smtp.gmx.com), with TLS encryption and port 587. Username (including gmail bit at end) and password were checked, and a test email to some other email addresses works fine.

My apologies for any incorrect terminology, as this is all fairly unfamiliar to me. Any suggestions or help on what to do next would be greatly appreciated - I am not sure what else to do (or what I have done wrong).

Thank you for any help (and thank you even if no help - the answers on previous threads are very good, and I appreciate all the time and effort you guys spend on helping people).
sajfsajf is offline   Reply With Quote
Old 11-02-2019, 10:01 PM   #28
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,835
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That log looks like something is killing the connection to the email server while the email is being sent. Typical suspects are antivirus/firewall and similar security programs.
kovidgoyal is online now   Reply With Quote
Old 12-16-2020, 12:56 PM   #29
JimReid
Enthusiast
JimReid began at the beginning.
 
Posts: 26
Karma: 10
Join Date: Jan 2016
Location: Williamstown, NJ
Device: Kindle Paperwhite
Not sure why the email isn't working. It appears to work but nothing shows up on my kindle. All email address are valid and same case. Test of GMX email was successful. All firewalls and AV are turned off or removed. The following is the results of the send:
Spoiler:

Starting job: Email Twelve Red Herrings to JIMREID_689@KINDLE.COM
connect: ('mail.gmx.com', 587)
connect: to ('mail.gmx.com', 587) None
reply: b'220 gmx.com (mrgmx004) Nemesis ESMTP Service ready\r\n'
reply: retcode (220); Msg: b'gmx.com (mrgmx004) Nemesis ESMTP Service ready'
connect: b'gmx.com (mrgmx004) Nemesis ESMTP Service ready'
send: 'ehlo JimsPC.hsd1.nj.comcast.net.\r\n'
reply: b'250-gmx.com Hello JimsPC.hsd1.nj.comcast.net [73.248.92.145]\r\n'
reply: b'250-8BITMIME\r\n'
reply: b'250-SIZE 69920427\r\n'
reply: b'250 STARTTLS\r\n'
reply: retcode (250); Msg: b'gmx.com Hello JimsPC.hsd1.nj.comcast.net [73.248.92.145]\n8BITMIME\nSIZE 69920427\nSTARTTLS'
send: 'STARTTLS\r\n'
reply: b'220 OK\r\n'
reply: retcode (220); Msg: b'OK'
send: 'ehlo JimsPC.hsd1.nj.comcast.net.\r\n'
reply: b'250-gmx.com Hello JimsPC.hsd1.nj.comcast.net [73.248.92.145]\r\n'
reply: b'250-8BITMIME\r\n'
reply: b'250-AUTH LOGIN PLAIN\r\n'
reply: b'250 SIZE 69920427\r\n'
reply: retcode (250); Msg: b'gmx.com Hello JimsPC.hsd1.nj.comcast.net [73.248.92.145]\n8BITMIME\nAUTH LOGIN PLAIN\nSIZE 69920427'
send: AUTH
reply: b'235 Authentication succeeded\r\n'
reply: retcode (235); Msg: b'Authentication succeeded'
send: 'mail FROM: size=611329\r\n'
reply: b'250 Requested mail action okay, completed\r\n'
reply: retcode (250); Msg: b'Requested mail action okay, completed'
send: 'rcpt TO:\r\n'
reply: b'250 OK\r\n'
reply: retcode (250); Msg: b'OK'
send: 'data\r\n'
reply: b'354 Start mail input; end with .\r\n'
reply: retcode (354); Msg: b'Start mail input; end with .'
data: (354, b'Start mail input; end with .')
send: b'Content-Type: multipart/mixed; boundary="===============0560302546=="\r\nMIME-Version: 1.0\r\nSubj...
reply: b'250 Requested mail action okay, completed: id=1Mj8qd-1kDWz93cP7-00f8nu\r\n'
reply: retcode (250); Msg: b'Requested mail action okay, completed: id=1Mj8qd-1kDWz93cP7-00f8nu'
data: (250, b'Requested mail action okay, completed: id=1Mj8qd-1kDWz93cP7-00f8nu')
send: 'quit\r\n'
reply: b'221 gmx.com Service closing transmission channel\r\n'
reply: retcode (221); Msg: b'gmx.com Service closing transmission channel'

Email successfully sent

Any ideas? Thanks.

Oops: Running Windows 10 Pro and Calibre 5.7.2

Last edited by theducks; 12-16-2020 at 01:09 PM. Reason: Forgot versions
JimReid is offline   Reply With Quote
Old 12-16-2020, 01:10 PM   #30
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,768
Karma: 54401244
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by JimReid View Post
Not sure why the email isn't working. It appears to work but nothing shows up on my kindle. All email address are valid and same case. Test of GMX email was successful. All firewalls and AV are turned off or removed. The following is the results of the send:
Spoiler:

Starting job: Email Twelve Red Herrings to JIMREID_689@KINDLE.COM
connect: ('mail.gmx.com', 587)
connect: to ('mail.gmx.com', 587) None
reply: b'220 gmx.com (mrgmx004) Nemesis ESMTP Service ready\r\n'
reply: retcode (220); Msg: b'gmx.com (mrgmx004) Nemesis ESMTP Service ready'
connect: b'gmx.com (mrgmx004) Nemesis ESMTP Service ready'
send: 'ehlo JimsPC.hsd1.nj.comcast.net.\r\n'
reply: b'250-gmx.com Hello JimsPC.hsd1.nj.comcast.net [73.248.92.145]\r\n'
reply: b'250-8BITMIME\r\n'
reply: b'250-SIZE 69920427\r\n'
reply: b'250 STARTTLS\r\n'
reply: retcode (250); Msg: b'gmx.com Hello JimsPC.hsd1.nj.comcast.net [73.248.92.145]\n8BITMIME\nSIZE 69920427\nSTARTTLS'
send: 'STARTTLS\r\n'
reply: b'220 OK\r\n'
reply: retcode (220); Msg: b'OK'
send: 'ehlo JimsPC.hsd1.nj.comcast.net.\r\n'
reply: b'250-gmx.com Hello JimsPC.hsd1.nj.comcast.net [73.248.92.145]\r\n'
reply: b'250-8BITMIME\r\n'
reply: b'250-AUTH LOGIN PLAIN\r\n'
reply: b'250 SIZE 69920427\r\n'
reply: retcode (250); Msg: b'gmx.com Hello JimsPC.hsd1.nj.comcast.net [73.248.92.145]\n8BITMIME\nAUTH LOGIN PLAIN\nSIZE 69920427'
send: AUTH
reply: b'235 Authentication succeeded\r\n'
reply: retcode (235); Msg: b'Authentication succeeded'
send: 'mail FROM: size=611329\r\n'
reply: b'250 Requested mail action okay, completed\r\n'
reply: retcode (250); Msg: b'Requested mail action okay, completed'
send: 'rcpt TO:\r\n'
reply: b'250 OK\r\n'
reply: retcode (250); Msg: b'OK'
send: 'data\r\n'
reply: b'354 Start mail input; end with .\r\n'
reply: retcode (354); Msg: b'Start mail input; end with .'
data: (354, b'Start mail input; end with .')
send: b'Content-Type: multipart/mixed; boundary="===============0560302546=="\r\nMIME-Version: 1.0\r\nSubj...
reply: b'250 Requested mail action okay, completed: id=1Mj8qd-1kDWz93cP7-00f8nu\r\n'
reply: retcode (250); Msg: b'Requested mail action okay, completed: id=1Mj8qd-1kDWz93cP7-00f8nu'
data: (250, b'Requested mail action okay, completed: id=1Mj8qd-1kDWz93cP7-00f8nu')
send: 'quit\r\n'
reply: b'221 gmx.com Service closing transmission channel\r\n'
reply: retcode (221); Msg: b'gmx.com Service closing transmission channel'

Email successfully sent

Any ideas? Thanks.

Oops: Running Windows 10 Pro and Calibre 5.7.2
See that(I made green)
Check at the other end
theducks is offline   Reply With Quote
Reply

Tags
calibre 2.57.1, email

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem Sending Books via email mtmjimenez5 Devices 2 07-01-2014 09:25 PM
Sending book from Calibre to email? rcook810 Library Management 1 02-27-2013 10:20 PM
Small Problem With Calibre Sending Files To Android Kindle quasarpod Devices 3 10-01-2011 11:18 AM
Problem sending mobi file to Kindle via email readslow Amazon Kindle 5 07-29-2011 08:45 PM
Possible or not? Calibre daemon on linux sending email with news Razzia Calibre 1 04-01-2011 12:23 PM


All times are GMT -4. The time now is 07:42 AM.


MobileRead.com is a privately owned, operated and funded community.