<?xml version="1.0"?>
<run>
  <case>
    <name>Swift_Bug38Test</name>
    <test>
      <name>testWritingMessageToByteStreamProducesCorrectStructure</name>
      <fail>Pattern [~^Message-ID: &lt;a0a1439f64a4599a0f473edce04f569c@njlibertyhyundai.com&gt;
Date: Mon, 24 Aug 2026 12\:44\:27 \+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_1787539467_1046f5421f49193e8072d2c9bba3e0d9_=_&quot;


--_=_swift_v4_1787539467_1046f5421f49193e8072d2c9bba3e0d9_=_
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

HTML part

--_=_swift_v4_1787539467_1046f5421f49193e8072d2c9bba3e0d9_=_
Content-Type: image/gif; name=image.gif
Content-Transfer-Encoding: base64
Content-Disposition: inline; filename=image.gif
Content-ID: &lt;b53eb0d6eb5db53e603069d3db6fcd47@njlibertyhyundai\.com&gt;

PGRhdGE\+

--_=_swift_v4_1787539467_1046f5421f49193e8072d2c9bba3e0d9_=_--
$~D] not detected in [String: Message-ID: &lt;a0a1439f64a4599a0f473edce04f569c@njlibertyhyundai.com&gt;
Date: Mon, 24 Aug 2026 12:44:27 +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;59943fd6a399759d677d2537338c2a9a@njlibertyhyundai.com&gt;
Date: Mon, 24 Aug 2026 12\:44\:27 \+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_1787539467_446f19033ffc4f17b8934fcbb9f3ee9e_=_&quot;


--_=_swift_v4_1787539467_446f19033ffc4f17b8934fcbb9f3ee9e_=_
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

HTML part

--_=_swift_v4_1787539467_446f19033ffc4f17b8934fcbb9f3ee9e_=_
Content-Type: image/gif; name=image.gif
Content-Transfer-Encoding: base64
Content-Disposition: inline; filename=image.gif
Content-ID: &lt;42ddb5475cb8e29e0c929afbee3e5c60@njlibertyhyundai\.com&gt;

PGRhdGE\+

--_=_swift_v4_1787539467_446f19033ffc4f17b8934fcbb9f3ee9e_=_--
$~D] not detected in [String: Message-ID: &lt;59943fd6a399759d677d2537338c2a9a@njlibertyhyundai.com&gt;
Date: Mon, 24 Aug 2026 12:44:27 +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;59943fd6a399759d677d2537338c2a9a@njlibertyhyundai.com&gt;
Date: Mon, 24 Aug 2026 12\:44\:27 \+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_1787539467_446f19033ffc4f17b8934fcbb9f3ee9e_=_&quot;


--_=_swift_v4_1787539467_446f19033ffc4f17b8934fcbb9f3ee9e_=_
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

HTML part

--_=_swift_v4_1787539467_446f19033ffc4f17b8934fcbb9f3ee9e_=_
Content-Type: image/gif; name=image.gif
Content-Transfer-Encoding: base64
Content-Disposition: inline; filename=image.gif
Content-ID: &lt;42ddb5475cb8e29e0c929afbee3e5c60@njlibertyhyundai\.com&gt;

PGRhdGE\+

--_=_swift_v4_1787539467_446f19033ffc4f17b8934fcbb9f3ee9e_=_--
$~D] not detected in [String: Message-ID: &lt;59943fd6a399759d677d2537338c2a9a@njlibertyhyundai.com&gt;
Date: Mon, 24 Aug 2026 12:44:27 +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;767ce36d2933b5ad089f429538a462fb@njlibertyhyundai.com&gt;
Date: Mon, 24 Aug 2026 12\:44\:27 \+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_1787539467_950091df2a5327f64d45bd161f4f6efd_=_&quot;


--_=_swift_v4_1787539467_950091df2a5327f64d45bd161f4f6efd_=_
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

HTML part

--_=_swift_v4_1787539467_950091df2a5327f64d45bd161f4f6efd_=_
Content-Type: text/plain; name=data.txt
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=data.txt

PGRhdGE\+

--_=_swift_v4_1787539467_950091df2a5327f64d45bd161f4f6efd_=_--
$~D] detected at character [0] in [String: Message-ID: &lt;767ce36d2933b5ad089f429538a462fb@njlibertyhyundai.com&gt;
Date: Mon, 24 Aug 2026 12:44:27 +1000
Subject: test subject
From: user@domain.tld
To: user@domain.tld
Cc: other@domain.tld
MIM...] as [Message-ID: &lt;767ce36d2933b5ad089f429538a462fb@njlibertyhyundai.com&gt;
Date: Mon, 24 Aug 2026 12:44:27 +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_1787539467_950091df2a5327f64d45bd161f4f6efd_=_&quot;


--_=_swift_v4_1787539467_950091df2a5327f64d45bd161f4f6efd_=_
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

HTML part

--_=_swift_v4_1787539467_950091df2a5327f64d45bd161f4f6efd_=_
Content-Type: text/plain; name=data.txt
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=data.txt

PGRhdGE+

--_=_swift_v4_1787539467_950091df2a5327f64d45bd161f4f6efd_=_--
] in region [Message-ID: &lt;767ce36d2933b5ad089f429538a462fb@njlibertyhyundai.com&gt;
Date: Mon, 24 Aug 2026 12:44:27...] at [/var/www/njlibertyhyundai.com/public_html/php/classes/swift/tests/bug/Swift/Bug38Test.php line 182]</pass>
      <pass>Pattern [~^Message-ID: &lt;767ce36d2933b5ad089f429538a462fb@njlibertyhyundai.com&gt;
Date: Mon, 24 Aug 2026 12\:44\:27 \+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_1787539467_950091df2a5327f64d45bd161f4f6efd_=_&quot;


--_=_swift_v4_1787539467_950091df2a5327f64d45bd161f4f6efd_=_
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

HTML part

--_=_swift_v4_1787539467_950091df2a5327f64d45bd161f4f6efd_=_
Content-Type: text/plain; name=data.txt
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=data.txt

PGRhdGE\+

--_=_swift_v4_1787539467_950091df2a5327f64d45bd161f4f6efd_=_--
$~D] detected at character [0] in [String: Message-ID: &lt;767ce36d2933b5ad089f429538a462fb@njlibertyhyundai.com&gt;
Date: Mon, 24 Aug 2026 12:44:27 +1000
Subject: test subject
From: user@domain.tld
To: user@domain.tld
Cc: other@domain.tld
MIM...] as [Message-ID: &lt;767ce36d2933b5ad089f429538a462fb@njlibertyhyundai.com&gt;
Date: Mon, 24 Aug 2026 12:44:27 +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_1787539467_950091df2a5327f64d45bd161f4f6efd_=_&quot;


--_=_swift_v4_1787539467_950091df2a5327f64d45bd161f4f6efd_=_
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

HTML part

--_=_swift_v4_1787539467_950091df2a5327f64d45bd161f4f6efd_=_
Content-Type: text/plain; name=data.txt
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=data.txt

PGRhdGE+

--_=_swift_v4_1787539467_950091df2a5327f64d45bd161f4f6efd_=_--
] in region [Message-ID: &lt;767ce36d2933b5ad089f429538a462fb@njlibertyhyundai.com&gt;
Date: Mon, 24 Aug 2026 12:44:27...] at [/var/www/njlibertyhyundai.com/public_html/php/classes/swift/tests/bug/Swift/Bug38Test.php line 183]</pass>
    </test>
  </case>
</run>
