mirror of
https://github.com/moparisthebest/curl
synced 2024-10-31 23:55:01 -04: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>
|