xref: /curl/tests/data/test914 (revision 3fd80c7b)
1<testcase>
2<info>
3<keywords>
4SMTP
5</keywords>
6</info>
7
8#
9# Server-side
10<reply>
11<servercmd>
12REPLY MAIL 501 not fine enough
13</servercmd>
14</reply>
15
16#
17# Client-side
18<client>
19<server>
20smtp
21</server>
22<name>
23SMTP invalid --mail-from
24</name>
25<file name="%LOGDIR/test%TESTNUMBER.eml">
26From: different
27To: another
28
29body
30</file>
31<command>
32smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from invalid -T %LOGDIR/test%TESTNUMBER.eml
33</command>
34</client>
35
36#
37# Verify data after the test has been "shot"
38<verify>
39# 55 - CURLE_SEND_ERROR
40<errorcode>
4155
42</errorcode>
43<protocol>
44EHLO %TESTNUMBER
45MAIL FROM:<invalid>
46QUIT
47</protocol>
48</verify>
49</testcase>
50