<?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;1781428489.6a2e7109134a5@edrictrust.com.saisi-learning.co.za&gt;
Date: Sun, 14 Jun 2026 19\:14\:49 \+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_17814284896a2e710913ec6_=_&quot;


--_=_swift_v4_17814284896a2e710913ec6_=_
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_17814284896a2e710913ec6_=_
Content-Type: image/gif; name=image.gif
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=image.gif

PGRhdGE\+

--_=_swift_v4_17814284896a2e710913ec6_=_--
$~D] detected at character [0] in [String: Sender: Other &lt;other@domain.tld&gt;
Message-ID: &lt;1781428489.6a2e7109134a5@edrictrust.com.saisi-learning.co.za&gt;
Date: Sun, 14 Jun 2026 19:14:49 +1000
Subject: test subject
From: Other &lt;other@domain.tl...] as [Sender: Other &lt;other@domain.tld&gt;
Message-ID: &lt;1781428489.6a2e7109134a5@edrictrust.com.saisi-learning.co.za&gt;
Date: Sun, 14 Jun 2026 19:14:49 +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_17814284896a2e710913ec6_=_&quot;


--_=_swift_v4_17814284896a2e710913ec6_=_
Content-Type: multipart/alternative;
 boundary=&quot;_=_swift_v4_17814284896a2e710914c96_=_&quot;


--_=_swift_v4_17814284896a2e710914c96_=_
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

plain part

--_=_swift_v4_17814284896a2e710914c96_=_
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

HTML part

--_=_swift_v4_17814284896a2e710914c96_=_--


--_=_swift_v4_17814284896a2e710913ec6_=_
Content-Type: image/gif; name=image.gif
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=image.gif

PGRhdGE+

--_=_swift_v4_17814284896a2e710913ec6_=_--
] in region [Sender: Other &lt;other@domain.tld&gt;
Message-ID: &lt;1781428489.6a2e7109134a5@edrictrust.com.saisi-learnin...] at [/home2/saisilea/public_html/edrictrust.com/Swift-4.3.0/tests/bug/Swift/Bug35Test.php line 73]</pass>
    </test>
  </case>
</run>
