tizen 2.3.1 release
[external/curl.git] / tests / data / test939
1 <testcase>
2 <info>
3 <keywords>
4 SMTP
5 RFC821
6 </keywords>
7 </info>
8
9 #
10 # Server-side
11 <reply>
12 <servercmd>
13 REPLY EHLO 500 Command unrecognized
14 </servercmd>
15 </reply>
16
17 #
18 # Client-side
19 <client>
20 <server>
21 smtp
22 </server>
23  <name>
24 RFC821-only SMTP with username and password
25  </name>
26 <stdin>
27 mail body\r
28 </stdin>
29  <command>
30 smtp://%HOSTIP:%SMTPPORT/939 --mail-rcpt recipient@example.com --mail-from sender@example.com -u user:secret -T -
31 </command>
32 </client>
33
34 #
35 # Verify data after the test has been "shot"
36 <verify>
37 <protocol>
38 EHLO 939\r
39 HELO 939\r
40 MAIL FROM:<sender@example.com>\r
41 RCPT TO:<recipient@example.com>\r
42 DATA\r
43 QUIT\r
44 </protocol>
45 <upload>
46 mail body\r
47 .\r
48 </upload>
49 </verify>
50 </testcase>