chiark
/
gitweb
/
~ian
/
curl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Import curl_7.56.1.orig.tar.gz
[curl.git]
/
tests
/
data
/
test916
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 invalid --mail-rcpt
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/916 --mail-rcpt invalid --mail-from sender@example.com -T -
30
</command>
31
</client>
32
33
#
34
# Verify data after the test has been "shot"
35
<verify>
36
# 55 - CURLE_SEND_ERROR
37
<errorcode>
38
55
39
</errorcode>
40
<protocol>
41
EHLO 916
\r
42
MAIL FROM:<sender@example.com>
\r
43
RCPT TO:<invalid>
\r
44
QUIT
\r
45
</protocol>
46
</verify>
47
</testcase>