Imported Upstream version 7.59.0
[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/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
37 MAIL FROM:<sender@example.com>
38 RCPT TO:<recipient@example.com>
39 DATA
40 QUIT
41 </protocol>
42 <upload>
43 .
44 </upload>
45 </verify>
46 </testcase>