2009-12-20 12:07:04 +01:00
|
|
|
<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>
|
2013-03-06 22:19:17 +01:00
|
|
|
'imap://%HOSTIP:%IMAPPORT/801/;UID=1' -u user:secret
|
2009-12-20 12:07:04 +01:00
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<protocol>
|
2013-02-07 01:18:23 +01:00
|
|
|
A001 CAPABILITY
|
|
|
|
A002 LOGIN user secret
|
|
|
|
A003 SELECT 801
|
2013-02-23 22:05:19 +01:00
|
|
|
A004 FETCH 1 BODY[]
|
2013-02-07 01:18:23 +01:00
|
|
|
A005 LOGOUT
|
2009-12-20 12:07:04 +01:00
|
|
|
</protocol>
|
|
|
|
</verify>
|
|
|
|
</testcase>
|