<?xml version="1.0"?>
<run>
  <case>
    <name>Swift_Bug38Test</name>
    <test>
      <name>testWritingMessageToByteStreamProducesCorrectStructure</name>
      <fail>Pattern [~^Message-ID: &lt;be52715db4c0b4f7803681136ccc4832@njlibertyhyundai.com&gt;
Date: Mon, 24 Aug 2026 13\:58\:50 \+1000
Subject: test subject
From: user@domain.tld
To: user@domain.tld
Cc: other@domain.tld
MIME-Version: 1.0
Content-Type: multipart/related;
 boundary=&quot;_=_swift_v4_1787543930_7ef8c840d52552126b5e34868cce4b06_=_&quot;


--_=_swift_v4_1787543930_7ef8c840d52552126b5e34868cce4b06_=_
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

HTML part

--_=_swift_v4_1787543930_7ef8c840d52552126b5e34868cce4b06_=_
Content-Type: image/gif; name=image.gif
Content-Transfer-Encoding: base64
Content-Disposition: inline; filename=image.gif
Content-ID: &lt;581e427e44c1e2954c6f5735b44b05dd@njlibertyhyundai\.com&gt;

PGRhdGE\+

--_=_swift_v4_1787543930_7ef8c840d52552126b5e34868cce4b06_=_--
$~D] not detected in [String: Message-ID: &lt;be52715db4c0b4f7803681136ccc4832@njlibertyhyundai.com&gt;
Date: Mon, 24 Aug 2026 13:58:50 +1000
Subject: test subject
From: user@domain.tld
To: user@domain.tld
Cc: other@domain.tld
MIM...] at [/var/www/njlibertyhyundai.com/public_html/php/classes/swift/tests/bug/Swift/Bug38Test.php line 42]</fail>
    </test>
    <test>
      <name>testWritingMessageToByteStreamTwiceProducesCorrectStructure</name>
      <fail>Pattern [~^Message-ID: &lt;5a4dba420f4c28d7f42c1ed9abb47342@njlibertyhyundai.com&gt;
Date: Mon, 24 Aug 2026 13\:58\:50 \+1000
Subject: test subject
From: user@domain.tld
To: user@domain.tld
Cc: other@domain.tld
MIME-Version: 1.0
Content-Type: multipart/related;
 boundary=&quot;_=_swift_v4_1787543930_55281a39876f44b7f89e38b6d62ad40a_=_&quot;


--_=_swift_v4_1787543930_55281a39876f44b7f89e38b6d62ad40a_=_
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

HTML part

--_=_swift_v4_1787543930_55281a39876f44b7f89e38b6d62ad40a_=_
Content-Type: image/gif; name=image.gif
Content-Transfer-Encoding: base64
Content-Disposition: inline; filename=image.gif
Content-ID: &lt;ce2b1c962d88ce770697b8fb564e8d48@njlibertyhyundai\.com&gt;

PGRhdGE\+

--_=_swift_v4_1787543930_55281a39876f44b7f89e38b6d62ad40a_=_--
$~D] not detected in [String: Message-ID: &lt;5a4dba420f4c28d7f42c1ed9abb47342@njlibertyhyundai.com&gt;
Date: Mon, 24 Aug 2026 13:58:50 +1000
Subject: test subject
From: user@domain.tld
To: user@domain.tld
Cc: other@domain.tld
MIM...] at [/var/www/njlibertyhyundai.com/public_html/php/classes/swift/tests/bug/Swift/Bug38Test.php line 126]</fail>
      <fail>Pattern [~^Message-ID: &lt;5a4dba420f4c28d7f42c1ed9abb47342@njlibertyhyundai.com&gt;
Date: Mon, 24 Aug 2026 13\:58\:50 \+1000
Subject: test subject
From: user@domain.tld
To: user@domain.tld
Cc: other@domain.tld
MIME-Version: 1.0
Content-Type: multipart/related;
 boundary=&quot;_=_swift_v4_1787543930_55281a39876f44b7f89e38b6d62ad40a_=_&quot;


--_=_swift_v4_1787543930_55281a39876f44b7f89e38b6d62ad40a_=_
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

HTML part

--_=_swift_v4_1787543930_55281a39876f44b7f89e38b6d62ad40a_=_
Content-Type: image/gif; name=image.gif
Content-Transfer-Encoding: base64
Content-Disposition: inline; filename=image.gif
Content-ID: &lt;ce2b1c962d88ce770697b8fb564e8d48@njlibertyhyundai\.com&gt;

PGRhdGE\+

--_=_swift_v4_1787543930_55281a39876f44b7f89e38b6d62ad40a_=_--
$~D] not detected in [String: Message-ID: &lt;5a4dba420f4c28d7f42c1ed9abb47342@njlibertyhyundai.com&gt;
Date: Mon, 24 Aug 2026 13:58:50 +1000
Subject: test subject
From: user@domain.tld
To: user@domain.tld
Cc: other@domain.tld
MIM...] at [/var/www/njlibertyhyundai.com/public_html/php/classes/swift/tests/bug/Swift/Bug38Test.php line 127]</fail>
    </test>
    <test>
      <name>testWritingMessageToByteStreamTwiceUsingAFileAttachment</name>
      <pass>Pattern [~^Message-ID: &lt;a98fe1df77f119167397af4aa01fd3af@njlibertyhyundai.com&gt;
Date: Mon, 24 Aug 2026 13\:58\:50 \+1000
Subject: test subject
From: user@domain.tld
To: user@domain.tld
Cc: other@domain.tld
MIME-Version: 1.0
Content-Type: multipart/mixed;
 boundary=&quot;_=_swift_v4_1787543930_e2fa4fb19e04d7ae22d2541816772c47_=_&quot;


--_=_swift_v4_1787543930_e2fa4fb19e04d7ae22d2541816772c47_=_
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

HTML part

--_=_swift_v4_1787543930_e2fa4fb19e04d7ae22d2541816772c47_=_
Content-Type: text/plain; name=data.txt
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=data.txt

PGRhdGE\+

--_=_swift_v4_1787543930_e2fa4fb19e04d7ae22d2541816772c47_=_--
$~D] detected at character [0] in [String: Message-ID: &lt;a98fe1df77f119167397af4aa01fd3af@njlibertyhyundai.com&gt;
Date: Mon, 24 Aug 2026 13:58:50 +1000
Subject: test subject
From: user@domain.tld
To: user@domain.tld
Cc: other@domain.tld
MIM...] as [Message-ID: &lt;a98fe1df77f119167397af4aa01fd3af@njlibertyhyundai.com&gt;
Date: Mon, 24 Aug 2026 13:58:50 +1000
Subject: test subject
From: user@domain.tld
To: user@domain.tld
Cc: other@domain.tld
MIME-Version: 1.0
Content-Type: multipart/mixed;
 boundary=&quot;_=_swift_v4_1787543930_e2fa4fb19e04d7ae22d2541816772c47_=_&quot;


--_=_swift_v4_1787543930_e2fa4fb19e04d7ae22d2541816772c47_=_
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

HTML part

--_=_swift_v4_1787543930_e2fa4fb19e04d7ae22d2541816772c47_=_
Content-Type: text/plain; name=data.txt
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=data.txt

PGRhdGE+

--_=_swift_v4_1787543930_e2fa4fb19e04d7ae22d2541816772c47_=_--
] in region [Message-ID: &lt;a98fe1df77f119167397af4aa01fd3af@njlibertyhyundai.com&gt;
Date: Mon, 24 Aug 2026 13:58:50...] at [/var/www/njlibertyhyundai.com/public_html/php/classes/swift/tests/bug/Swift/Bug38Test.php line 182]</pass>
      <pass>Pattern [~^Message-ID: &lt;a98fe1df77f119167397af4aa01fd3af@njlibertyhyundai.com&gt;
Date: Mon, 24 Aug 2026 13\:58\:50 \+1000
Subject: test subject
From: user@domain.tld
To: user@domain.tld
Cc: other@domain.tld
MIME-Version: 1.0
Content-Type: multipart/mixed;
 boundary=&quot;_=_swift_v4_1787543930_e2fa4fb19e04d7ae22d2541816772c47_=_&quot;


--_=_swift_v4_1787543930_e2fa4fb19e04d7ae22d2541816772c47_=_
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

HTML part

--_=_swift_v4_1787543930_e2fa4fb19e04d7ae22d2541816772c47_=_
Content-Type: text/plain; name=data.txt
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=data.txt

PGRhdGE\+

--_=_swift_v4_1787543930_e2fa4fb19e04d7ae22d2541816772c47_=_--
$~D] detected at character [0] in [String: Message-ID: &lt;a98fe1df77f119167397af4aa01fd3af@njlibertyhyundai.com&gt;
Date: Mon, 24 Aug 2026 13:58:50 +1000
Subject: test subject
From: user@domain.tld
To: user@domain.tld
Cc: other@domain.tld
MIM...] as [Message-ID: &lt;a98fe1df77f119167397af4aa01fd3af@njlibertyhyundai.com&gt;
Date: Mon, 24 Aug 2026 13:58:50 +1000
Subject: test subject
From: user@domain.tld
To: user@domain.tld
Cc: other@domain.tld
MIME-Version: 1.0
Content-Type: multipart/mixed;
 boundary=&quot;_=_swift_v4_1787543930_e2fa4fb19e04d7ae22d2541816772c47_=_&quot;


--_=_swift_v4_1787543930_e2fa4fb19e04d7ae22d2541816772c47_=_
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

HTML part

--_=_swift_v4_1787543930_e2fa4fb19e04d7ae22d2541816772c47_=_
Content-Type: text/plain; name=data.txt
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=data.txt

PGRhdGE+

--_=_swift_v4_1787543930_e2fa4fb19e04d7ae22d2541816772c47_=_--
] in region [Message-ID: &lt;a98fe1df77f119167397af4aa01fd3af@njlibertyhyundai.com&gt;
Date: Mon, 24 Aug 2026 13:58:50...] at [/var/www/njlibertyhyundai.com/public_html/php/classes/swift/tests/bug/Swift/Bug38Test.php line 183]</pass>
    </test>
  </case>
</run>
