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>
49 RCPT TO:<recipient@example.com>
54 Content-Type: multipart/mixed; boundary=----------------------------
59 ------------------------------
60 Content-Transfer-Encoding: quoted-printable
61 Content-disposition: "inline"
63 This is the e-mail inline text with a very long line containing the special=
64 character =3D and that should be split by encoder.
65 ------------------------------
66 Content-Disposition: attachment; filename="test648.txt"
67 Content-Transfer-Encoding: base64
69 VGhpcyBpcyBhbiBhdHRhY2hlZCBmaWxlLgoKSXQgbWF5IGNvbnRhaW4gYW55IHR5cGUgb2YgZGF0
70 YSBhbmQgd2lsbCBiZSBlbmNvZGVkIGluIGJhc2U2NCBmb3IgdHJhbnNmZXIuCg==
71 --------------------------------