6b7a1f40e8e8dd3ffaec254f763957c23426d80f
[platform/upstream/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/user --mail-rcpt 911@foo --mail-rcpt 911@foobar.example --mail-from 911@from -T -
29 </command>
30 </client>
31
32 #
33 # Verify data after the test has been "shot"
34 <verify>
35 <protocol>
36 EHLO user\r
37 MAIL FROM:<911@from>\r
38 RCPT TO:<911@foo>\r
39 RCPT TO:<911@foobar.example>\r
40 DATA\r
41 QUIT\r
42 </protocol>
43 <upload>
44 \r
45 .\r
46 </upload>
47 </verify>
48 </testcase>