IMAP
Clear Text
SASL AUTH +LOGIN
#
# Server-side
AUTH PLAIN
REPLY LOGIN A002 OK LOGIN completed
From: me@somewhere
To: fake@nowhere
body
--
yours sincerely
#
# Client-side
imap
IMAP with --login-options 'AUTH=+LOGIN'
'imap://%HOSTIP:%IMAPPORT/%TESTNUMBER/;MAILINDEX=1' -u user:secret --login-options AUTH=+LOGIN
#
# Verify data after the test has been "shot"
A001 CAPABILITY
A002 LOGIN user secret
A003 SELECT %TESTNUMBER
A004 FETCH 1 BODY[]
A005 LOGOUT