<testcase>
<info>
<keywords>
-POP3
-RETR
+IMAP
+Clear Text
+FETCH
</keywords>
</info>
# Server-side
<reply>
<data>
-From: me@somewhere
-To: fake@nowhere
-
-body
-
---
- yours sincerely
+From: me@somewhere\r
+To: fake@nowhere\r
+\r
+body\r
+\r
+--\r
+ yours sincerely\r
</data>
</reply>
# Client-side
<client>
<server>
-pop3
+imap
</server>
<name>
-POP3 RETR
+IMAP FETCH message
</name>
<command>
-pop3://%HOSTIP:%POP3PORT/800 -u user:secret
+'imap://%HOSTIP:%IMAPPORT/800/;UID=1' -u user:secret
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-USER user\r
-PASS secret\r
-RETR 800\r
-QUIT\r
+A001 CAPABILITY\r
+A002 LOGIN user secret\r
+A003 SELECT 800\r
+A004 FETCH 1 BODY[]\r
+A005 LOGOUT\r
</protocol>
</verify>
</testcase>