This project is read-only.

Append Method Not Working

Jul 8, 2010 at 10:52 AM
Edited Jul 13, 2010 at 12:25 PM

What mistake i did in Append Command below........i try but always get BAD Append replly response from the server

request: IMAP003 SELECT INBOX \r\n

response: * FLAGS (\Answered \Flagged \Draft \Deleted \Seen)

response: * OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen \*)]

response: * OK [UIDVALIDITY 3]

response: * 122 EXISTS

response: * 0 RECENT

response: * OK [UIDNEXT 2280]

response: IMAP003 OK [READ-WRITE] INBOX selected. (Success)

request:IMAP004 APPEND INBOX (\Seen) {2280} \r\n

reponse: + go ahead

request: From: mail@gmail.com 
            To: mail@gmail.com
           Message-Id: <634145760000000000@abc.com>
           MIME-Version: 1.0
           Content-Type: TEXT/PLAIN; CHARSET=US-ASCII

             Hello

response: null or

response: there is garbage value after message litreal