View Single Post
Old 02-27-2021, 09:31 AM   #36
arialvetica
Member
arialvetica began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Oct 2016
Device: Kindle Oasis
I have a new laptop, Windows 10, fresh Calibre install. I configured my preferences as usual. Successful test email (within Preferences: Sharing books by email: Test email). Authenticates credentials. Fails to send book.

I uninstalled the McAfee software that came with my PC, and disabled the Windows Defender Firewall & Network Protection.

Spoiler:
Starting job: Email Dragons and Marshmallows to xxxxx@kindle.com
connect: ('mail.gmx.com', 587)
connect: to ('mail.gmx.com', 587) None
reply: b'220 gmx.net (mrgmx004) Nemesis ESMTP Service ready\r\n'
reply: retcode (220); Msg: b'gmx.net (mrgmx004) Nemesis ESMTP Service ready'
connect: b'gmx.net (mrgmx004) Nemesis ESMTP Service ready'
send: 'ehlo Freya.lan\r\n'
reply: b'250-gmx.net Hello Freya.lan [173.235.226.42]\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.net Hello Freya.lan [173.235.226.42]\n8BITMIME\nSIZE 69920427\nSTARTTLS'
send: 'STARTTLS\r\n'
reply: b'220 OK\r\n'
reply: retcode (220); Msg: b'OK'
send: 'ehlo Freya.lan\r\n'
reply: b'250-gmx.net Hello Freya.lan [173.235.226.42]\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.net Hello Freya.lan [173.235.226.42]\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=18865966\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="===============0184457556=="\nMIME-Version: 1.0\nSubject:...
reply: b'501 Syntax error - line too long\r\n'
reply: retcode (501); Msg: b'Syntax error - line too long'
data: (501, b'Syntax error - line too long')
send: 'rset\r\n'
send: 'quit\r\n'

Sending failed...

Traceback (most recent call last):
File "calibre\gui2\email.py", line 45, in run
File "calibre\gui2\email.py", line 129, in sendmail
File "calibre\utils\smtp.py", line 191, in sendmail
File "smtplib.py", line 892, in sendmail
smtplib.SMTPDataError: (501, b'Syntax error - line too long')


Retrying in 301 seconds...

Waiting 301 seconds before sending, to avoid being marked as spam.
You can control this delay via Preferences->Tweaks
connect: ('mail.gmx.com', 587)
connect: to ('mail.gmx.com', 587) None
reply: b'220 gmx.net (mrgmx004) Nemesis ESMTP Service ready\r\n'
reply: retcode (220); Msg: b'gmx.net (mrgmx004) Nemesis ESMTP Service ready'
connect: b'gmx.net (mrgmx004) Nemesis ESMTP Service ready'
send: 'ehlo Freya.lan\r\n'
reply: b'250-gmx.net Hello Freya.lan [173.235.226.42]\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.net Hello Freya.lan [173.235.226.42]\n8BITMIME\nSIZE 69920427\nSTARTTLS'
send: 'STARTTLS\r\n'
reply: b'220 OK\r\n'
reply: retcode (220); Msg: b'OK'
send: 'ehlo Freya.lan\r\n'
reply: b'250-gmx.net Hello Freya.lan [173.235.226.42]\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.net Hello Freya.lan [173.235.226.42]\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=18865966\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="===============0576450956=="\nMIME-Version: 1.0\nSubject:...
reply: b'501 Syntax error - line too long\r\n'
reply: retcode (501); Msg: b'Syntax error - line too long'
data: (501, b'Syntax error - line too long')
send: 'rset\r\n'
send: 'quit\r\n'

Sending failed...

Traceback (most recent call last):
File "calibre\gui2\email.py", line 45, in run
File "calibre\gui2\email.py", line 129, in sendmail
File "calibre\utils\smtp.py", line 191, in sendmail
File "smtplib.py", line 892, in sendmail
smtplib.SMTPDataError: (501, b'Syntax error - line too long')

Job: "Email Dragons and Marshmallows to xxxxx@kindle.com" failed with error:
Traceback (most recent call last):
File "calibre\gui2\threaded_jobs.py", line 83, in start_work
File "calibre\gui2\email.py", line 102, in __call__
File "calibre\gui2\email.py", line 45, in run
File "calibre\gui2\email.py", line 129, in sendmail
File "calibre\utils\smtp.py", line 191, in sendmail
File "smtplib.py", line 892, in sendmail
smtplib.SMTPDataError: (501, b'Syntax error - line too long')

Called with args: ('C:\\Users\\xxxxx\\AppData\\Local\\Temp\\calibre_ 4e855z9l\\xnkyb1tacaltmpfmt.mobi', 'Dragons and Marshmallows - Asia Citro.mobi', 'xxxxx@kindle.com', 'A book you will enjoy', 'Attached, you will find the e-book\n\nDragons and Marshmallows\n\tby Asia Citro\n\nin the MOBI format.\n\nAbout this book:\n\nWith magical animals, science, mystery, and adventure -- the brand new\nseries Zoey and Sassafras has something for everyone! Easy-to-read\nlanguage and illustrations on nearly every page make this series\nperfect for a wide range of ages. In the first book of this series,\nZoey discovers a glowing photo and learns an amazing secret. Injured\nmagical animals come to their backyard barn for help! When a sick baby\ndragon appears, it’s up to Zoey and Sassafras to figure out what’s\nwrong. Will they be able to help little Marshmallow before it’s too\nlate?') {'notifications': , 'abort': , 'log': }
arialvetica is offline   Reply With Quote