mirror of
https://github.com/moparisthebest/curl
synced 2024-11-08 18:45:05 -05:00
48 lines
496 B
Plaintext
48 lines
496 B
Plaintext
|
<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>
|
||
|
imap://%HOSTIP:%IMAPPORT/801 -u user:secret
|
||
|
</command>
|
||
|
</client>
|
||
|
|
||
|
#
|
||
|
# Verify data after the test has been "shot"
|
||
|
<verify>
|
||
|
<protocol>
|
||
|
B LOGIN user secret
|
||
|
C SELECT 801
|
||
|
D FETCH 1 BODY[TEXT]
|
||
|
A LOGOUT
|
||
|
</protocol>
|
||
|
</verify>
|
||
|
</testcase>
|