<?xml version="1.0"?>
<run>
  <case>
    <name>Swift_Bug35Test</name>
    <test>
      <name>testHTMLPartAppearsLastEvenWhenAttachmentsAdded</name>
      <pass>Pattern [~^Sender: Other &lt;other@domain.tld&gt;
Message-ID: &lt;123e86e5534ebb19004927896165ab4a@www.njlibertyhyundai.com&gt;
Date: Wed, 02 Sep 2026 02\:36\:56 \+1000
Subject: test subject
From: Other &lt;other@domain.tld&gt;
To: User &lt;user@domain.tld&gt;
MIME-Version: 1.0
Content-Type: multipart/mixed;
 boundary=&quot;_=_swift_v4_1788280616_90094f5e250767a25a3c651d18d3e404_=_&quot;


--_=_swift_v4_1788280616_90094f5e250767a25a3c651d18d3e404_=_
Content-Type: multipart/alternative;
 boundary=&quot;(.*?)&quot;


--\1
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

plain part

--\1
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

HTML part

--\1--


--_=_swift_v4_1788280616_90094f5e250767a25a3c651d18d3e404_=_
Content-Type: image/gif; name=image.gif
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=image.gif

PGRhdGE\+

--_=_swift_v4_1788280616_90094f5e250767a25a3c651d18d3e404_=_--
$~D] detected at character [0] in [String: Sender: Other &lt;other@domain.tld&gt;
Message-ID: &lt;123e86e5534ebb19004927896165ab4a@www.njlibertyhyundai.com&gt;
Date: Wed, 02 Sep 2026 02:36:56 +1000
Subject: test subject
From: Other &lt;other@domain.tld&gt;...] as [Sender: Other &lt;other@domain.tld&gt;
Message-ID: &lt;123e86e5534ebb19004927896165ab4a@www.njlibertyhyundai.com&gt;
Date: Wed, 02 Sep 2026 02:36:56 +1000
Subject: test subject
From: Other &lt;other@domain.tld&gt;
To: User &lt;user@domain.tld&gt;
MIME-Version: 1.0
Content-Type: multipart/mixed;
 boundary=&quot;_=_swift_v4_1788280616_90094f5e250767a25a3c651d18d3e404_=_&quot;


--_=_swift_v4_1788280616_90094f5e250767a25a3c651d18d3e404_=_
Content-Type: multipart/alternative;
 boundary=&quot;_=_swift_v4_1788280616_814bdb2512953c7fe72f54a5d3b5f940_=_&quot;


--_=_swift_v4_1788280616_814bdb2512953c7fe72f54a5d3b5f940_=_
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

plain part

--_=_swift_v4_1788280616_814bdb2512953c7fe72f54a5d3b5f940_=_
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

HTML part

--_=_swift_v4_1788280616_814bdb2512953c7fe72f54a5d3b5f940_=_--


--_=_swift_v4_1788280616_90094f5e250767a25a3c651d18d3e404_=_
Content-Type: image/gif; name=image.gif
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=image.gif

PGRhdGE+

--_=_swift_v4_1788280616_90094f5e250767a25a3c651d18d3e404_=_--
] in region [Sender: Other &lt;other@domain.tld&gt;
Message-ID: &lt;123e86e5534ebb19004927896165ab4a@www.njlibertyhyundai...] at [/var/www/njlibertyhyundai.com/public_html/php/classes/swift/tests/bug/Swift/Bug35Test.php line 72]</pass>
    </test>
  </case>
</run>
