Facing problem to execute Append command on imap server

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • arora
    New Member
    • Apr 2010
    • 4

    Facing problem to execute Append command on imap server

    Facing problem in Append Command. What mistake i did in Append command below, always return bad response
    =============== =============== ===========
    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:<63414576000 0000000@abc.com >
    MIME-Version: 1.0
    Content-Type: TEXT/PLAIN; CHARSET=US-ASCII

    Hello

    response: null or
    response: there is some garbage value after message literal
Working...