deps/curl/tests/data/test850
raw| 1 | <testcase> |
| 2 | <info> |
| 3 | <keywords> |
| 4 | POP3 |
| 5 | Clear Text |
| 6 | RETR |
| 7 | </keywords> |
| 8 | </info> |
| 9 | |
| 10 | # |
| 11 | # Server-side |
| 12 | <reply> |
| 13 | <data> |
| 14 | From: me@somewhere |
| 15 | To: fake@nowhere |
| 16 | |
| 17 | body |
| 18 | |
| 19 | -- |
| 20 | yours sincerely |
| 21 | </data> |
| 22 | </reply> |
| 23 | |
| 24 | # |
| 25 | # Client-side |
| 26 | <client> |
| 27 | <server> |
| 28 | pop3 |
| 29 | </server> |
| 30 | <name> |
| 31 | POP3 RETR message |
| 32 | </name> |
| 33 | <command> |
| 34 | pop3://%HOSTIP:%POP3PORT/850 -u user:secret |
| 35 | </command> |
| 36 | </client> |
| 37 | |
| 38 | # |
| 39 | # Verify data after the test has been "shot" |
| 40 | <verify> |
| 41 | <protocol> |
| 42 | CAPA |
| 43 | USER user |
| 44 | PASS secret |
| 45 | RETR 850 |
| 46 | QUIT |
| 47 | </protocol> |
| 48 | </verify> |
| 49 | </testcase> |