2013-08-28 02:27:10 -04:00
|
|
|
<testcase>
|
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
IMAP
|
2014-03-30 06:40:50 -04:00
|
|
|
Clear Text
|
2013-08-28 02:27:10 -04:00
|
|
|
SEARCH
|
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
<data>
|
2021-03-12 11:38:26 -05:00
|
|
|
* SEARCH 1 123 456 %TESTNUMBER
|
2013-08-28 02:27:10 -04:00
|
|
|
</data>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
imap
|
|
|
|
</server>
|
|
|
|
<name>
|
2014-04-18 11:50:38 -04:00
|
|
|
IMAP SEARCH for NEW messages
|
2013-08-28 02:27:10 -04:00
|
|
|
</name>
|
|
|
|
<command>
|
2021-03-12 11:38:26 -05:00
|
|
|
imap://%HOSTIP:%IMAPPORT/%TESTNUMBER?NEW -u user:secret
|
2013-08-28 02:27:10 -04:00
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<protocol>
|
|
|
|
A001 CAPABILITY
|
|
|
|
A002 LOGIN user secret
|
2021-03-12 11:38:26 -05:00
|
|
|
A003 SELECT %TESTNUMBER
|
2013-08-28 02:27:10 -04:00
|
|
|
A004 SEARCH NEW
|
|
|
|
A005 LOGOUT
|
|
|
|
</protocol>
|
|
|
|
</verify>
|
|
|
|
</testcase>
|