<?xml version="1.0"?>
<run>
  <case>
    <name>Swift_Bug38Test</name>
    <test>
      <name>testWritingMessageToByteStreamProducesCorrectStructure</name>
      <fail>Pattern [~^Message-ID: &lt;e2c795c8134fc72b7d62581729aa6605@www.njlibertyhyundai.com&gt;
Date: Wed, 02 Sep 2026 02\:36\:57 \+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_1788280617_013f353c120950ba9401f24027756513_=_&quot;


--_=_swift_v4_1788280617_013f353c120950ba9401f24027756513_=_
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

HTML part

--_=_swift_v4_1788280617_013f353c120950ba9401f24027756513_=_
Content-Type: image/gif; name=image.gif
Content-Transfer-Encoding: base64
Content-Disposition: inline; filename=image.gif
Content-ID: &lt;b6a608c142473465d048760239278fa2@www\.njlibertyhyundai\.com&gt;

PGRhdGE\+

--_=_swift_v4_1788280617_013f353c120950ba9401f24027756513_=_--
$~D] not detected in [String: Message-ID: &lt;e2c795c8134fc72b7d62581729aa6605@www.njlibertyhyundai.com&gt;
Date: Wed, 02 Sep 2026 02:36:57 +1000
Subject: test subject
From: user@domain.tld
To: user@domain.tld
Cc: other@domain.tld...] 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;b516c84949a510094da3d74c976dd2c8@www.njlibertyhyundai.com&gt;
Date: Wed, 02 Sep 2026 02\:36\:57 \+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_1788280617_14db5df18c668c0c21e100b6c247e2c4_=_&quot;


--_=_swift_v4_1788280617_14db5df18c668c0c21e100b6c247e2c4_=_
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

HTML part

--_=_swift_v4_1788280617_14db5df18c668c0c21e100b6c247e2c4_=_
Content-Type: image/gif; name=image.gif
Content-Transfer-Encoding: base64
Content-Disposition: inline; filename=image.gif
Content-ID: &lt;ab2b73ffd280ef3210c6d32de71c6833@www\.njlibertyhyundai\.com&gt;

PGRhdGE\+

--_=_swift_v4_1788280617_14db5df18c668c0c21e100b6c247e2c4_=_--
$~D] not detected in [String: Message-ID: &lt;b516c84949a510094da3d74c976dd2c8@www.njlibertyhyundai.com&gt;
Date: Wed, 02 Sep 2026 02:36:57 +1000
Subject: test subject
From: user@domain.tld
To: user@domain.tld
Cc: other@domain.tld...] at [/var/www/njlibertyhyundai.com/public_html/php/classes/swift/tests/bug/Swift/Bug38Test.php line 126]</fail>
      <fail>Pattern [~^Message-ID: &lt;b516c84949a510094da3d74c976dd2c8@www.njlibertyhyundai.com&gt;
Date: Wed, 02 Sep 2026 02\:36\:57 \+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_1788280617_14db5df18c668c0c21e100b6c247e2c4_=_&quot;


--_=_swift_v4_1788280617_14db5df18c668c0c21e100b6c247e2c4_=_
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

HTML part

--_=_swift_v4_1788280617_14db5df18c668c0c21e100b6c247e2c4_=_
Content-Type: image/gif; name=image.gif
Content-Transfer-Encoding: base64
Content-Disposition: inline; filename=image.gif
Content-ID: &lt;ab2b73ffd280ef3210c6d32de71c6833@www\.njlibertyhyundai\.com&gt;

PGRhdGE\+

--_=_swift_v4_1788280617_14db5df18c668c0c21e100b6c247e2c4_=_--
$~D] not detected in [String: Message-ID: &lt;b516c84949a510094da3d74c976dd2c8@www.njlibertyhyundai.com&gt;
Date: Wed, 02 Sep 2026 02:36:57 +1000
Subject: test subject
From: user@domain.tld
To: user@domain.tld
Cc: other@domain.tld...] 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;cc506595abf32196b74055821e966c1e@www.njlibertyhyundai.com&gt;
Date: Wed, 02 Sep 2026 02\:36\:57 \+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_1788280617_3eb4b663017c0745de40d7ad3356752c_=_&quot;


--_=_swift_v4_1788280617_3eb4b663017c0745de40d7ad3356752c_=_
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

HTML part

--_=_swift_v4_1788280617_3eb4b663017c0745de40d7ad3356752c_=_
Content-Type: text/plain; name=data.txt
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=data.txt

PGRhdGE\+

--_=_swift_v4_1788280617_3eb4b663017c0745de40d7ad3356752c_=_--
$~D] detected at character [0] in [String: Message-ID: &lt;cc506595abf32196b74055821e966c1e@www.njlibertyhyundai.com&gt;
Date: Wed, 02 Sep 2026 02:36:57 +1000
Subject: test subject
From: user@domain.tld
To: user@domain.tld
Cc: other@domain.tld...] as [Message-ID: &lt;cc506595abf32196b74055821e966c1e@www.njlibertyhyundai.com&gt;
Date: Wed, 02 Sep 2026 02:36:57 +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_1788280617_3eb4b663017c0745de40d7ad3356752c_=_&quot;


--_=_swift_v4_1788280617_3eb4b663017c0745de40d7ad3356752c_=_
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

HTML part

--_=_swift_v4_1788280617_3eb4b663017c0745de40d7ad3356752c_=_
Content-Type: text/plain; name=data.txt
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=data.txt

PGRhdGE+

--_=_swift_v4_1788280617_3eb4b663017c0745de40d7ad3356752c_=_--
] in region [Message-ID: &lt;cc506595abf32196b74055821e966c1e@www.njlibertyhyundai.com&gt;
Date: Wed, 02 Sep 2026 02:3...] at [/var/www/njlibertyhyundai.com/public_html/php/classes/swift/tests/bug/Swift/Bug38Test.php line 182]</pass>
      <pass>Pattern [~^Message-ID: &lt;cc506595abf32196b74055821e966c1e@www.njlibertyhyundai.com&gt;
Date: Wed, 02 Sep 2026 02\:36\:57 \+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_1788280617_3eb4b663017c0745de40d7ad3356752c_=_&quot;


--_=_swift_v4_1788280617_3eb4b663017c0745de40d7ad3356752c_=_
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

HTML part

--_=_swift_v4_1788280617_3eb4b663017c0745de40d7ad3356752c_=_
Content-Type: text/plain; name=data.txt
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=data.txt

PGRhdGE\+

--_=_swift_v4_1788280617_3eb4b663017c0745de40d7ad3356752c_=_--
$~D] detected at character [0] in [String: Message-ID: &lt;cc506595abf32196b74055821e966c1e@www.njlibertyhyundai.com&gt;
Date: Wed, 02 Sep 2026 02:36:57 +1000
Subject: test subject
From: user@domain.tld
To: user@domain.tld
Cc: other@domain.tld...] as [Message-ID: &lt;cc506595abf32196b74055821e966c1e@www.njlibertyhyundai.com&gt;
Date: Wed, 02 Sep 2026 02:36:57 +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_1788280617_3eb4b663017c0745de40d7ad3356752c_=_&quot;


--_=_swift_v4_1788280617_3eb4b663017c0745de40d7ad3356752c_=_
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

HTML part

--_=_swift_v4_1788280617_3eb4b663017c0745de40d7ad3356752c_=_
Content-Type: text/plain; name=data.txt
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=data.txt

PGRhdGE+

--_=_swift_v4_1788280617_3eb4b663017c0745de40d7ad3356752c_=_--
] in region [Message-ID: &lt;cc506595abf32196b74055821e966c1e@www.njlibertyhyundai.com&gt;
Date: Wed, 02 Sep 2026 02:3...] at [/var/www/njlibertyhyundai.com/public_html/php/classes/swift/tests/bug/Swift/Bug38Test.php line 183]</pass>
    </test>
  </case>
</run>
