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