113498266Sopenharmony_ci<testcase>
213498266Sopenharmony_ci<info>
313498266Sopenharmony_ci<keywords>
413498266Sopenharmony_ciSMTP
513498266Sopenharmony_ciMULTIPART
613498266Sopenharmony_ci</keywords>
713498266Sopenharmony_ci</info>
813498266Sopenharmony_ci
913498266Sopenharmony_ci#
1013498266Sopenharmony_ci# Server-side
1113498266Sopenharmony_ci<reply>
1213498266Sopenharmony_ci</reply>
1313498266Sopenharmony_ci
1413498266Sopenharmony_ci#
1513498266Sopenharmony_ci# Client-side
1613498266Sopenharmony_ci<client>
1713498266Sopenharmony_ci<features>
1813498266Sopenharmony_ciMime
1913498266Sopenharmony_ci</features>
2013498266Sopenharmony_ci<server>
2113498266Sopenharmony_cismtp
2213498266Sopenharmony_ci</server>
2313498266Sopenharmony_ci<name>
2413498266Sopenharmony_ciSMTP multipart with transfer content encoders
2513498266Sopenharmony_ci</name>
2613498266Sopenharmony_ci<stdin>
2713498266Sopenharmony_ciFrom: different
2813498266Sopenharmony_ciTo: another
2913498266Sopenharmony_ci
3013498266Sopenharmony_cibody
3113498266Sopenharmony_ci</stdin>
3213498266Sopenharmony_ci<command>
3313498266Sopenharmony_cismtp://%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"
3413498266Sopenharmony_ci</command>
3513498266Sopenharmony_ci<file name="%LOGDIR/test%TESTNUMBER.txt">
3613498266Sopenharmony_ciThis is an attached file.
3713498266Sopenharmony_ci
3813498266Sopenharmony_ciIt may contain any type of data and will be encoded in base64 for transfer.
3913498266Sopenharmony_ci</file>
4013498266Sopenharmony_ci</client>
4113498266Sopenharmony_ci
4213498266Sopenharmony_ci#
4313498266Sopenharmony_ci# Verify data after the test has been "shot"
4413498266Sopenharmony_ci<verify>
4513498266Sopenharmony_ci<strippart>
4613498266Sopenharmony_cis/^--------------------------[A-Za-z0-9]*/------------------------------/
4713498266Sopenharmony_cis/boundary=------------------------[A-Za-z0-9]*/boundary=----------------------------/
4813498266Sopenharmony_ci</strippart>
4913498266Sopenharmony_ci<protocol>
5013498266Sopenharmony_ciEHLO %TESTNUMBER
5113498266Sopenharmony_ciMAIL FROM:<sender@example.com>
5213498266Sopenharmony_ciRCPT TO:<recipient@example.com>
5313498266Sopenharmony_ciDATA
5413498266Sopenharmony_ciQUIT
5513498266Sopenharmony_ci</protocol>
5613498266Sopenharmony_ci<upload>
5713498266Sopenharmony_ciContent-Type: multipart/mixed; boundary=----------------------------
5813498266Sopenharmony_ciMime-Version: 1.0
5913498266Sopenharmony_ciFrom: different
6013498266Sopenharmony_ciTo: another
6113498266Sopenharmony_ci
6213498266Sopenharmony_ci------------------------------
6313498266Sopenharmony_ciContent-Transfer-Encoding: quoted-printable
6413498266Sopenharmony_ciContent-disposition: "inline"
6513498266Sopenharmony_ci
6613498266Sopenharmony_ciThis is the email inline text with a very long line containing the special =
6713498266Sopenharmony_cicharacter =3D and that should be split by encoder.
6813498266Sopenharmony_ci------------------------------
6913498266Sopenharmony_ciContent-Disposition: attachment; filename="test%TESTNUMBER.txt"
7013498266Sopenharmony_ciContent-Transfer-Encoding: base64
7113498266Sopenharmony_ci
7213498266Sopenharmony_ciVGhpcyBpcyBhbiBhdHRhY2hlZCBmaWxlLgoKSXQgbWF5IGNvbnRhaW4gYW55IHR5cGUgb2YgZGF0
7313498266Sopenharmony_ciYSBhbmQgd2lsbCBiZSBlbmNvZGVkIGluIGJhc2U2NCBmb3IgdHJhbnNmZXIuCg==
7413498266Sopenharmony_ci--------------------------------
7513498266Sopenharmony_ci.
7613498266Sopenharmony_ci</upload>
7713498266Sopenharmony_ci</verify>
7813498266Sopenharmony_ci</testcase>
79