21 SMTP multipart with transfer content encoders
30 smtp://%HOSTIP:%SMTPPORT/648 --mail-rcpt recipient@example.com --mail-from sender@example.com -F '=This is the e-mail inline text with a very long line containing the special character = and that should be split by encoder.;headers=Content-disposition: "inline";encoder=quoted-printable' -F "=@log/test648.txt;encoder=base64" -H "From: different" -H "To: another"
32 <file name="log/test648.txt">
33 This is an attached file.
35 It may contain any type of data and will be encoded in base64 for transfer.
40 # Verify data after the test has been "shot"
43 s/^--------------------------[a-z0-9]*/------------------------------/
44 s/boundary=------------------------[a-z0-9]*/boundary=----------------------------/
48 MAIL FROM:<sender@example.com>
\r
49 RCPT TO:<recipient@example.com>
\r
54 Content-Type: multipart/mixed; boundary=----------------------------
\r
59 ------------------------------
\r
60 Content-Transfer-Encoding: quoted-printable
\r
61 Content-disposition: "inline"
\r
63 This is the e-mail inline text with a very long line containing the special=
\r
64 character =3D and that should be split by encoder.
\r
65 ------------------------------
\r
66 Content-Disposition: attachment; filename="test648.txt"
\r
67 Content-Transfer-Encoding: base64
\r
69 VGhpcyBpcyBhbiBhdHRhY2hlZCBmaWxlLgoKSXQgbWF5IGNvbnRhaW4gYW55IHR5cGUgb2YgZGF0
\r
70 YSBhbmQgd2lsbCBiZSBlbmNvZGVkIGluIGJhc2U2NCBmb3IgdHJhbnNmZXIuCg==
\r
71 --------------------------------
\r