IMAP
Clear Text
FETCH
CUSTOMREQUEST
#
# Server-side
body
+ Curl did not used to like this line
--
yours sincerely
* 123 FETCH (BODY[1] {70}
#
# Client-side
imap
IMAP custom request doesn't check continuation data
imap://%HOSTIP:%IMAPPORT/%TESTNUMBER/ -u user:secret -X 'FETCH 123 BODY[1]'
#
# Verify data after the test has been "shot"
A001 CAPABILITY
A002 LOGIN user secret
A003 SELECT %TESTNUMBER
A004 FETCH 123 BODY[1]
A005 LOGOUT