osx - How to close IMAP APPEND command from a openssl connection -


i know how close append command unix terminal. goal create draft message on gmail imap server mac terminal or javame. i've used follow commands far:

openssl s_client -crlf -connect imap.gmail.com:993 ... a1 login myaccount@gmail.com mypassword ... a2 select "[gmail]/drafts" ... a3 append "[gmail]/drafts" (\seen) {310} + go ahead date: fri, 29 apr 2011 10:00:00 -0800 (pst) ... content-type: text-plain; charset=us-ascii

message body

i tried send crlf (\r\n) using socket connection , control+v, return, return in terminal.

{310} number of message characters, including carriage return , line feed, worked fine.


Comments