<?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;1789153170.6aa44f92077a6@autodiscover.alvowebd.webd.pro&gt;
Date: Sat, 12 Sep 2026 04\:59\:30 \+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_17891531706aa44f9208c2d_=_&quot;


--_=_swift_v4_17891531706aa44f9208c2d_=_
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_17891531706aa44f9208c2d_=_
Content-Type: image/gif; name=image.gif
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=image.gif

PGRhdGE\+

--_=_swift_v4_17891531706aa44f9208c2d_=_--
$~D] detected at character [0] in [String: Sender: Other &lt;other@domain.tld&gt;
Message-ID: &lt;1789153170.6aa44f92077a6@autodiscover.alvowebd.webd.pro&gt;
Date: Sat, 12 Sep 2026 04:59:30 +1000
Subject: test subject
From: Other &lt;other@domain.tld&gt;
T...] as [Sender: Other &lt;other@domain.tld&gt;
Message-ID: &lt;1789153170.6aa44f92077a6@autodiscover.alvowebd.webd.pro&gt;
Date: Sat, 12 Sep 2026 04:59:30 +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_17891531706aa44f9208c2d_=_&quot;


--_=_swift_v4_17891531706aa44f9208c2d_=_
Content-Type: multipart/alternative;
 boundary=&quot;_=_swift_v4_17891531706aa44f9209c8f_=_&quot;


--_=_swift_v4_17891531706aa44f9209c8f_=_
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

plain part

--_=_swift_v4_17891531706aa44f9209c8f_=_
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

HTML part

--_=_swift_v4_17891531706aa44f9209c8f_=_--


--_=_swift_v4_17891531706aa44f9208c2d_=_
Content-Type: image/gif; name=image.gif
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=image.gif

PGRhdGE+

--_=_swift_v4_17891531706aa44f9208c2d_=_--
] in region [Sender: Other &lt;other@domain.tld&gt;
Message-ID: &lt;1789153170.6aa44f92077a6@autodiscover.alvowebd.webd.p...] at [/home/alvowebd/public_html/m/plugins/SwiftPlugin/lib/SwiftMailer/tests/bug/Swift/Bug35Test.php line 74]</pass>
    </test>
  </case>
</run>
