2009-12-20 06:07:04 -05:00
|
|
|
<testcase>
|
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
IMAP
|
|
|
|
FETCH
|
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
<data>
|
2013-03-21 08:42:32 -04:00
|
|
|
From: me@somewhere
|
|
|
|
To: fake@nowhere
|
|
|
|
|
|
|
|
body
|
|
|
|
|
|
|
|
--
|
|
|
|
yours sincerely
|
2009-12-20 06:07:04 -05:00
|
|
|
</data>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
imap
|
|
|
|
</server>
|
|
|
|
<name>
|
|
|
|
IMAP FETCH
|
|
|
|
</name>
|
|
|
|
<command>
|
2013-03-10 15:55:22 -04:00
|
|
|
'imap://%HOSTIP:%IMAPPORT/800/;UID=1' -u user:secret
|
2009-12-20 06:07:04 -05:00
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<protocol>
|
2013-02-06 19:18:23 -05:00
|
|
|
A001 CAPABILITY
|
|
|
|
A002 LOGIN user secret
|
2013-03-10 15:55:22 -04:00
|
|
|
A003 SELECT 800
|
2013-02-23 16:05:19 -05:00
|
|
|
A004 FETCH 1 BODY[]
|
2013-02-06 19:18:23 -05:00
|
|
|
A005 LOGOUT
|
2009-12-20 06:07:04 -05:00
|
|
|
</protocol>
|
|
|
|
</verify>
|
|
|
|
</testcase>
|