http://www.imapwiki.org/ImapTest/ <http://www.imapwiki.org/ImapTest/> I am doing imap testing using imaptest scripts. But, i am unable to append message. APPEND INBOX "15-Jun-2015 05:30:05 -0700" "From:abc at gmail.com" "Subject: test. HI this is msg". This command i am using in my testing script. Command executed properly. But, it is not appending mail which is i entered into command. Imaptest appending his own mail into mailbox. please tell me whether i am doing it wrong way. How to append msg i entered into command using imaptest ?? -- View this message in context: http://dovecot.2317879.n4.nabble.com/Imaptest-script-testing-tp48607.html Sent from the Dovecot mailing list archive at Nabble.com.
Quoting kaustubh <kaustubh at mithi.com>:> http://www.imapwiki.org/ImapTest/ <http://www.imapwiki.org/ImapTest/> > > I am doing imap testing using imaptest scripts. But, i am unable to append > message. > > APPEND INBOX "15-Jun-2015 05:30:05 -0700" "From:abc at gmail.com" "Subject: > test. HI this is msg".Not sure if imaptest has a special format... But this is an invalid IMAP APPEND command. The entire message body is in a single literal. This has a better chance of working (APPEND actually requires a literal for message data, but I am assuming Dovecot/imaptest is liberal about what it parses and will also accept a quoted string in this situation): APPEND INBOX "15-Jun-2015 05:30:05 -0700" "From:abc at gmail.com\nSubject: test.\n\nHI this is msg" michael