test649 (916B)
1 <testcase> 2 <info> 3 <keywords> 4 SMTP 5 MULTIPART 6 </keywords> 7 </info> 8 9 # 10 # Server-side 11 <reply> 12 </reply> 13 14 # 15 # Client-side 16 <client> 17 <features> 18 Mime 19 </features> 20 <server> 21 smtp 22 </server> 23 <name> 24 SMTP multipart with 7bit encoder error 25 </name> 26 <stdin> 27 From: different 28 To: another 29 30 body 31 </stdin> 32 <command> 33 smtp://%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"> 36 This is an attached file (in french: pi%hex[%c3%a8]hex%ce jointe). 37 38 It 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> 46 EHLO %TESTNUMBER 47 MAIL FROM:<sender@example.com> 48 RCPT TO:<recipient@example.com> 49 DATA 50 </protocol> 51 <errorcode> 52 26 53 </errorcode> 54 </verify> 55 </testcase>