1f88990fd024fa7526fee8b04c7b344b3678f2c1
[platform/upstream/curl.git] / tests / data / test906
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 without --mail-from
21  </name>
22 <stdin>
23 From: different\r
24 To: another\r
25 \r
26 body\r
27 </stdin>
28  <command>
29 smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 906@foo -T -
30 </command>
31 </client>
32
33 #
34 # Verify data after the test has been "shot"
35 <verify>
36 <protocol>
37 EHLO user\r
38 MAIL FROM:<>\r
39 RCPT TO:<906@foo>\r
40 DATA\r
41 QUIT\r
42 </protocol>
43 <upload>
44 From: different\r
45 To: another\r
46 \r
47 body\r
48 .\r
49 </upload>
50 </verify>
51 </testcase>