IMAPS
FETCH
#
# Server-side
From: me@somewhere
To: fake@nowhere
body
--
yours sincerely
#
# Client-side
imaps
IMAPS FETCH with redundant explicit SSL request
-k --ssl-reqd -u '"user:sec"ret{' 'imaps://%HOSTIP:%IMAPSPORT/%TESTNUMBER/;MAILINDEX=1'
#
# Verify data after the test has been "shot"
A001 CAPABILITY
A002 LOGIN "\"user" "sec\"ret{"
A003 SELECT %TESTNUMBER
A004 FETCH 1 BODY[]
A005 LOGOUT