SMTP MULTIPART # # Server-side # # Client-side Mime smtp SMTP multipart with transfer content encoders From: different To: another body smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from sender@example.com -F '=This is the email 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 "=@%LOGDIR/test%TESTNUMBER.txt;encoder=base64" -H "From: different" -H "To: another" This is an attached file. It may contain any type of data and will be encoded in base64 for transfer. # # Verify data after the test has been "shot" s/^--------------------------[A-Za-z0-9]*/------------------------------/ s/boundary=------------------------[A-Za-z0-9]*/boundary=----------------------------/ EHLO %TESTNUMBER MAIL FROM: RCPT TO: DATA QUIT Content-Type: multipart/mixed; boundary=---------------------------- Mime-Version: 1.0 From: different To: another ------------------------------ Content-Transfer-Encoding: quoted-printable Content-disposition: "inline" This is the email inline text with a very long line containing the special = character =3D and that should be split by encoder. ------------------------------ Content-Disposition: attachment; filename="test%TESTNUMBER.txt" Content-Transfer-Encoding: base64 VGhpcyBpcyBhbiBhdHRhY2hlZCBmaWxlLgoKSXQgbWF5IGNvbnRhaW4gYW55IHR5cGUgb2YgZGF0 YSBhbmQgd2lsbCBiZSBlbmNvZGVkIGluIGJhc2U2NCBmb3IgdHJhbnNmZXIuCg== -------------------------------- .