<?xml version="1.0"?>
<run>
  <case>
    <name>Swift_Bug38Test</name>
    <test>
      <name>testWritingMessageToByteStreamProducesCorrectStructure</name>
      <fail>Pattern [~^Message-ID: &lt;5f0a363301b115fc8d33503ce2bfa735@www.njlibertyhyundai.com&gt;
Date: Sat, 17 Oct 2026 17\:03\:25 \+1100
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_1792217005_a98b4653f91612b575ebe879094127f8_=_&quot;


--_=_swift_v4_1792217005_a98b4653f91612b575ebe879094127f8_=_
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

HTML part

--_=_swift_v4_1792217005_a98b4653f91612b575ebe879094127f8_=_
Content-Type: image/gif; name=image.gif
Content-Transfer-Encoding: base64
Content-Disposition: inline; filename=image.gif
Content-ID: &lt;25076229e894d3a1a34864387f8a1bb9@www\.njlibertyhyundai\.com&gt;

PGRhdGE\+

--_=_swift_v4_1792217005_a98b4653f91612b575ebe879094127f8_=_--
$~D] not detected in [String: Message-ID: &lt;5f0a363301b115fc8d33503ce2bfa735@www.njlibertyhyundai.com&gt;
Date: Sat, 17 Oct 2026 17:03:25 +1100
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;9f9176a40092c6cf9754eeb45bdf4721@www.njlibertyhyundai.com&gt;
Date: Sat, 17 Oct 2026 17\:03\:25 \+1100
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_1792217005_9f9c3dafad77fd42eda31ce31c6477e3_=_&quot;


--_=_swift_v4_1792217005_9f9c3dafad77fd42eda31ce31c6477e3_=_
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

HTML part

--_=_swift_v4_1792217005_9f9c3dafad77fd42eda31ce31c6477e3_=_
Content-Type: image/gif; name=image.gif
Content-Transfer-Encoding: base64
Content-Disposition: inline; filename=image.gif
Content-ID: &lt;c9a9a5c24a37862feaa225e002b8628d@www\.njlibertyhyundai\.com&gt;

PGRhdGE\+

--_=_swift_v4_1792217005_9f9c3dafad77fd42eda31ce31c6477e3_=_--
$~D] not detected in [String: Message-ID: &lt;9f9176a40092c6cf9754eeb45bdf4721@www.njlibertyhyundai.com&gt;
Date: Sat, 17 Oct 2026 17:03:25 +1100
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;9f9176a40092c6cf9754eeb45bdf4721@www.njlibertyhyundai.com&gt;
Date: Sat, 17 Oct 2026 17\:03\:25 \+1100
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_1792217005_9f9c3dafad77fd42eda31ce31c6477e3_=_&quot;


--_=_swift_v4_1792217005_9f9c3dafad77fd42eda31ce31c6477e3_=_
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

HTML part

--_=_swift_v4_1792217005_9f9c3dafad77fd42eda31ce31c6477e3_=_
Content-Type: image/gif; name=image.gif
Content-Transfer-Encoding: base64
Content-Disposition: inline; filename=image.gif
Content-ID: &lt;c9a9a5c24a37862feaa225e002b8628d@www\.njlibertyhyundai\.com&gt;

PGRhdGE\+

--_=_swift_v4_1792217005_9f9c3dafad77fd42eda31ce31c6477e3_=_--
$~D] not detected in [String: Message-ID: &lt;9f9176a40092c6cf9754eeb45bdf4721@www.njlibertyhyundai.com&gt;
Date: Sat, 17 Oct 2026 17:03:25 +1100
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;ad85158be43997558122f7fb058bbb80@www.njlibertyhyundai.com&gt;
Date: Sat, 17 Oct 2026 17\:03\:25 \+1100
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_1792217005_26ff48d2cfe13eaba7507e84c66ce1f5_=_&quot;


--_=_swift_v4_1792217005_26ff48d2cfe13eaba7507e84c66ce1f5_=_
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

HTML part

--_=_swift_v4_1792217005_26ff48d2cfe13eaba7507e84c66ce1f5_=_
Content-Type: text/plain; name=data.txt
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=data.txt

PGRhdGE\+

--_=_swift_v4_1792217005_26ff48d2cfe13eaba7507e84c66ce1f5_=_--
$~D] detected at character [0] in [String: Message-ID: &lt;ad85158be43997558122f7fb058bbb80@www.njlibertyhyundai.com&gt;
Date: Sat, 17 Oct 2026 17:03:25 +1100
Subject: test subject
From: user@domain.tld
To: user@domain.tld
Cc: other@domain.tld...] as [Message-ID: &lt;ad85158be43997558122f7fb058bbb80@www.njlibertyhyundai.com&gt;
Date: Sat, 17 Oct 2026 17:03:25 +1100
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_1792217005_26ff48d2cfe13eaba7507e84c66ce1f5_=_&quot;


--_=_swift_v4_1792217005_26ff48d2cfe13eaba7507e84c66ce1f5_=_
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

HTML part

--_=_swift_v4_1792217005_26ff48d2cfe13eaba7507e84c66ce1f5_=_
Content-Type: text/plain; name=data.txt
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=data.txt

PGRhdGE+

--_=_swift_v4_1792217005_26ff48d2cfe13eaba7507e84c66ce1f5_=_--
] in region [Message-ID: &lt;ad85158be43997558122f7fb058bbb80@www.njlibertyhyundai.com&gt;
Date: Sat, 17 Oct 2026 17:0...] at [/var/www/njlibertyhyundai.com/public_html/php/classes/swift/tests/bug/Swift/Bug38Test.php line 182]</pass>
      <pass>Pattern [~^Message-ID: &lt;ad85158be43997558122f7fb058bbb80@www.njlibertyhyundai.com&gt;
Date: Sat, 17 Oct 2026 17\:03\:25 \+1100
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_1792217005_26ff48d2cfe13eaba7507e84c66ce1f5_=_&quot;


--_=_swift_v4_1792217005_26ff48d2cfe13eaba7507e84c66ce1f5_=_
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

HTML part

--_=_swift_v4_1792217005_26ff48d2cfe13eaba7507e84c66ce1f5_=_
Content-Type: text/plain; name=data.txt
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=data.txt

PGRhdGE\+

--_=_swift_v4_1792217005_26ff48d2cfe13eaba7507e84c66ce1f5_=_--
$~D] detected at character [0] in [String: Message-ID: &lt;ad85158be43997558122f7fb058bbb80@www.njlibertyhyundai.com&gt;
Date: Sat, 17 Oct 2026 17:03:25 +1100
Subject: test subject
From: user@domain.tld
To: user@domain.tld
Cc: other@domain.tld...] as [Message-ID: &lt;ad85158be43997558122f7fb058bbb80@www.njlibertyhyundai.com&gt;
Date: Sat, 17 Oct 2026 17:03:25 +1100
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_1792217005_26ff48d2cfe13eaba7507e84c66ce1f5_=_&quot;


--_=_swift_v4_1792217005_26ff48d2cfe13eaba7507e84c66ce1f5_=_
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

HTML part

--_=_swift_v4_1792217005_26ff48d2cfe13eaba7507e84c66ce1f5_=_
Content-Type: text/plain; name=data.txt
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=data.txt

PGRhdGE+

--_=_swift_v4_1792217005_26ff48d2cfe13eaba7507e84c66ce1f5_=_--
] in region [Message-ID: &lt;ad85158be43997558122f7fb058bbb80@www.njlibertyhyundai.com&gt;
Date: Sat, 17 Oct 2026 17:0...] at [/var/www/njlibertyhyundai.com/public_html/php/classes/swift/tests/bug/Swift/Bug38Test.php line 183]</pass>
    </test>
  </case>
</run>
