xref: /aosp_15_r20/external/curl/tests/data/test3006 (revision 6236dae45794135f37c4eb022389c904c8b0090d)
1<testcase>
2<info>
3<keywords>
4SMTP
5</keywords>
6</info>
7
8#
9# Server-side
10<reply>
11</reply>
12
13#
14# Client-side
15<client>
16<server>
17smtp
18</server>
19<name>
20SMTP with multiple invalid (all) --mail-rcpt and --mail-rcpt-allowfails
21</name>
22<stdin>
23From: different
24To: another
25
26body
27</stdin>
28<command>
29smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt-allowfails --mail-rcpt invalid.one --mail-rcpt invalid.two --mail-rcpt invalid.three --mail-rcpt invalid.four --mail-rcpt invalid.five --mail-from [email protected] -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>
3855
39</errorcode>
40<protocol>
41EHLO %TESTNUMBER
42MAIL FROM:<[email protected]>
43RCPT TO:<invalid.one>
44RCPT TO:<invalid.two>
45RCPT TO:<invalid.three>
46RCPT TO:<invalid.four>
47RCPT TO:<invalid.five>
48QUIT
49</protocol>
50</verify>
51</testcase>
52