curl/tests/data/test810

44 lines
511 B
Plaintext

<testcase>
<info>
<keywords>
IMAP
Clear Text
SEARCH
</keywords>
</info>
#
# Server-side
<reply>
<data>
* SEARCH 1 123 456 810
</data>
</reply>
#
# Client-side
<client>
<server>
imap
</server>
<name>
IMAP SEARCH for NEW messages
</name>
<command>
imap://%HOSTIP:%IMAPPORT/810?NEW -u user:secret
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
<protocol>
A001 CAPABILITY
A002 LOGIN user secret
A003 SELECT 810
A004 SEARCH NEW
A005 LOGOUT
</protocol>
</verify>
</testcase>