IMAP
FETCH
#
# Server-side
From: me@somewhere
To: fake@nowhere
body
--
yours sincerely
#
# Client-side
imap
IMAP FETCH
imap://%HOSTIP:%IMAPPORT/801 -u user:secret
#
# Verify data after the test has been "shot"
A001 CAPABILITY
A002 LOGIN user secret
A003 SELECT 801
A004 FETCH 1 BODY[]
A005 LOGOUT