xref: /curl/tests/data/test649 (revision 9222f312)
1<testcase>
2<info>
3<keywords>
4SMTP
5MULTIPART
6</keywords>
7</info>
8
9#
10# Server-side
11<reply>
12</reply>
13
14#
15# Client-side
16<client>
17<features>
18Mime
19</features>
20<server>
21smtp
22</server>
23<name>
24SMTP multipart with 7bit encoder error
25</name>
26<stdin>
27From: different
28To: another
29
30body
31</stdin>
32<command>
33smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from sender@example.com -F '=This is valid;encoder=7bit' -F "=@%LOGDIR/test%TESTNUMBER.txt;encoder=7bit" -H "From: different" -H "To: another"
34</command>
35<file name="%LOGDIR/test%TESTNUMBER.txt">
36This is an attached file (in french: pièce jointe).
37
38It contains at least an 8-bit byte value.
39</file>
40</client>
41
42#
43# Verify data after the test has been "shot"
44<verify>
45<protocol>
46EHLO %TESTNUMBER
47MAIL FROM:<sender@example.com>
48RCPT TO:<recipient@example.com>
49DATA
50</protocol>
51<errorcode>
5226
53</errorcode>
54</verify>
55</testcase>
56