mirror of
https://github.com/moparisthebest/curl
synced 2024-11-16 14:35:03 -05:00
45 lines
539 B
Plaintext
45 lines
539 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
POP3
|
|
Clear Text
|
|
LIST
|
|
</keywords>
|
|
</info>
|
|
|
|
#
|
|
# Server-side
|
|
<reply>
|
|
<servercmd>
|
|
# include the '.\r\n' 3-byte trailer to end the transfer poperly!
|
|
REPLY LIST +OK 851 100\r\n.
|
|
</servercmd>
|
|
</reply>
|
|
|
|
#
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
pop3
|
|
</server>
|
|
<name>
|
|
POP3 LIST one message
|
|
</name>
|
|
<command>
|
|
pop3://%HOSTIP:%POP3PORT/851 -l -u user:secret
|
|
</command>
|
|
</client>
|
|
|
|
#
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
<protocol>
|
|
CAPA
|
|
USER user
|
|
PASS secret
|
|
LIST 851
|
|
QUIT
|
|
</protocol>
|
|
</verify>
|
|
</testcase>
|