View Single Post
Old 11-16-2010, 10:15 AM   #37
nickredding
onlinenewsreader.net
nickredding knows the difference between 'who' and 'whom'nickredding knows the difference between 'who' and 'whom'nickredding knows the difference between 'who' and 'whom'nickredding knows the difference between 'who' and 'whom'nickredding knows the difference between 'who' and 'whom'nickredding knows the difference between 'who' and 'whom'nickredding knows the difference between 'who' and 'whom'nickredding knows the difference between 'who' and 'whom'nickredding knows the difference between 'who' and 'whom'nickredding knows the difference between 'who' and 'whom'nickredding knows the difference between 'who' and 'whom'
 
Posts: 328
Karma: 10143
Join Date: Dec 2009
Location: Phoenix, AZ & Victoria, BC
Device: Kindle 3, Kindle Fire, IPad3, iPhone4, Playbook, HTC Inspire
Quote:
Originally Posted by kovidgoyal View Post
You could get more debug output by running the following from the command line

Code:
calibre-smtp -vv -r smtp.gmail.com --port 587 -u username -p password --attachment filename --subject "test mail" username@gmail.com yourkindleusername@kindle.com "this is a test mail"
Kovid, when I run this from the Win 7 command line I get Error 12: Not enough space. This occurs after the first "go ahead" from the server (i.e. the conversation is underway and I think my PC is trying to start sending the message body and attachment).

Code:
SIZE 35651584
8BITMIME
AUTH LOGIN PLAIN XOAUTH
ENHANCEDSTATUSCODES
send: 'AUTH PLAIN AHJlZGRpbmcubmlja0BnbWFpbC5jb20AY2Fub250bw==\r\n'
reply: '235 2.7.0 Accepted\r\n'
reply: retcode (235); Msg: 2.7.0 Accepted
send: u'mail FROM:<xxx@gmail.com> size=734893\r\n'
reply: '250 2.1.0 OK x18sm1493332wfa.23\r\n'
reply: retcode (250); Msg: 2.1.0 OK x18sm1493332wfa.23
send: u'rcpt TO:<xxx@free.kindle.com>\r\n'
reply: '250 2.1.5 OK x18sm1493332wfa.23\r\n'
reply: retcode (250); Msg: 2.1.5 OK x18sm1493332wfa.23
send: 'data\r\n'
reply: '354  Go ahead x18sm1493332wfa.23\r\n'
reply: retcode (354); Msg: Go ahead x18sm1493332wfa.23
data: (354, 'Go ahead x18sm1493332wfa.23')
send: Python function terminated unexpectedly
  (12, 'Not enough space') (Error Code: 1)
Traceback (most recent call last):
  File "site.py", line 103, in main
  File "site.py", line 85, in run_entry_point
  File "site-packages\calibre\utils\smtp.py", line 224, in main
  File "site-packages\calibre\utils\smtp.py", line 104, in sendmail
  File "smtplib.py", line 710, in sendmail
  File "smtplib.py", line 478, in data
  File "smtplib.py", line 302, in send
IOError: [Errno 12] Not enough space
Any ideas? It happens in Administrator mode as well, and I have lots of RAM and disk available.
nickredding is offline   Reply With Quote