<?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;de3cb8a4497c1340b3e8b42ad0fc7f07@www.app.abcservicescheltenham.co.uk&gt;
Date: Wed, 29 Jul 2026 14\:32\:53 \+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_1785299573_b0988f40cf7cd0e8b2637fc784348978_=_&quot;


--_=_swift_v4_1785299573_b0988f40cf7cd0e8b2637fc784348978_=_
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_1785299573_b0988f40cf7cd0e8b2637fc784348978_=_
Content-Type: image/gif; name=image.gif
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=image.gif

PGRhdGE\+

--_=_swift_v4_1785299573_b0988f40cf7cd0e8b2637fc784348978_=_--
$~D] detected at character [0] in [String: Sender: Other &lt;other@domain.tld&gt;
Message-ID: &lt;de3cb8a4497c1340b3e8b42ad0fc7f07@www.app.abcservicescheltenham.co.uk&gt;
Date: Wed, 29 Jul 2026 14:32:53 +1000
Subject: test subject
From: Other &lt;other@d...] as [Sender: Other &lt;other@domain.tld&gt;
Message-ID: &lt;de3cb8a4497c1340b3e8b42ad0fc7f07@www.app.abcservicescheltenham.co.uk&gt;
Date: Wed, 29 Jul 2026 14:32:53 +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_1785299573_b0988f40cf7cd0e8b2637fc784348978_=_&quot;


--_=_swift_v4_1785299573_b0988f40cf7cd0e8b2637fc784348978_=_
Content-Type: multipart/alternative;
 boundary=&quot;_=_swift_v4_1785299573_c352b2d206e804f6fc103cfeccfef4e3_=_&quot;


--_=_swift_v4_1785299573_c352b2d206e804f6fc103cfeccfef4e3_=_
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

plain part

--_=_swift_v4_1785299573_c352b2d206e804f6fc103cfeccfef4e3_=_
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

HTML part

--_=_swift_v4_1785299573_c352b2d206e804f6fc103cfeccfef4e3_=_--


--_=_swift_v4_1785299573_b0988f40cf7cd0e8b2637fc784348978_=_
Content-Type: image/gif; name=image.gif
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=image.gif

PGRhdGE+

--_=_swift_v4_1785299573_b0988f40cf7cd0e8b2637fc784348978_=_--
] in region [Sender: Other &lt;other@domain.tld&gt;
Message-ID: &lt;de3cb8a4497c1340b3e8b42ad0fc7f07@www.app.abcservicesc...] at [/home/abcservices/app.abcservicescheltenham.co.uk/lib/swift/tests/bug/Swift/Bug35Test.php line 33]</pass>
    </test>
  </case>
</run>
