projects
/
platform
/
upstream
/
curl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
749a9657438ac061a49353ca5846de40c5c496ea
[platform/upstream/curl.git]
/
tests
/
data
/
test900
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
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 900@foo --mail-rcpt 900@foobar.example --mail-from 900@from -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:<900@from>
\r
39
RCPT TO:<900@foo>
\r
40
RCPT TO:<900@foobar.example>
\r
41
DATA
\r
42
QUIT
\r
43
</protocol>
44
<upload>
45
From: different
\r
46
To: another
\r
47
\r
48
body
\r
49
.
\r
50
</upload>
51
</verify>
52
</testcase>