xref: /curl/tests/data/test810 (revision 3fd80c7b)
1<testcase>
2<info>
3<keywords>
4IMAP
5Clear Text
6SEARCH
7</keywords>
8</info>
9
10#
11# Server-side
12<reply>
13<data>
14* SEARCH 1 123 456 %TESTNUMBER
15</data>
16</reply>
17
18#
19# Client-side
20<client>
21<server>
22imap
23</server>
24<name>
25IMAP SEARCH for NEW messages
26</name>
27<command>
28imap://%HOSTIP:%IMAPPORT/%TESTNUMBER?NEW -u user:secret
29</command>
30</client>
31
32#
33# Verify data after the test has been "shot"
34<verify>
35<protocol>
36A001 CAPABILITY
37A002 LOGIN user secret
38A003 SELECT %TESTNUMBER
39A004 SEARCH NEW
40A005 LOGOUT
41</protocol>
42</verify>
43</testcase>
44