IMAP
Clear Text
SELECT
#
# Server-side
body
--
yours sincerely
#
# Client-side
imap
IMAP doesn't perform SELECT if re-using the same mailbox
'imap://%HOSTIP:%IMAPPORT/%TESTNUMBER/;MAILINDEX=123/;SECTION=1' 'imap://%HOSTIP:%IMAPPORT/%TESTNUMBER/;MAILINDEX=456/;SECTION=2.3' -u user:secret
#
# Verify data after the test has been "shot"
A001 CAPABILITY
A002 LOGIN user secret
A003 SELECT %TESTNUMBER
A004 FETCH 123 BODY[1]
A005 FETCH 456 BODY[2.3]
A006 LOGOUT