test800   [plain text]


<testcase>
<info>
<keywords>
IMAP
FETCH
</keywords>
</info>

#
# Server-side
<reply>
<data>
From: me@somewhere
To: fake@nowhere

body

--
  yours sincerely
</data>
</reply>

#
# Client-side
<client>
<server>
imap
</server>
 <name>
IMAP FETCH
 </name>
 <command>
'imap://%HOSTIP:%IMAPPORT/800/;UID=1' -u user:secret
</command>
</client>

#
# Verify data after the test has been "shot"
<verify>
<protocol>
A001 CAPABILITY
A002 LOGIN user secret
A003 SELECT 800
A004 FETCH 1 BODY[]
A005 LOGOUT
</protocol>
</verify>
</testcase>