<?xml version="1.0"?>
<run>
  <case>
    <name>Swift_Bug38Test</name>
    <test>
      <name>testWritingMessageToByteStreamProducesCorrectStructure</name>
      <fail>Pattern [~^Message-ID: &lt;f49a12b6306194a45de294a67267ab5d@www.njlibertyhyundai.com&gt;
Date: Sat, 30 May 2026 06\:29\:34 \+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_1780086574_62730a6f8aa7d5dfef8e864c920afa2a_=_&quot;


--_=_swift_v4_1780086574_62730a6f8aa7d5dfef8e864c920afa2a_=_
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

HTML part

--_=_swift_v4_1780086574_62730a6f8aa7d5dfef8e864c920afa2a_=_
Content-Type: image/gif; name=image.gif
Content-Transfer-Encoding: base64
Content-Disposition: inline; filename=image.gif
Content-ID: &lt;0e04c5bece4542a7541707a9f8663ffb@www\.njlibertyhyundai\.com&gt;

PGRhdGE\+

--_=_swift_v4_1780086574_62730a6f8aa7d5dfef8e864c920afa2a_=_--
$~D] not detected in [String: Message-ID: &lt;f49a12b6306194a45de294a67267ab5d@www.njlibertyhyundai.com&gt;
Date: Sat, 30 May 2026 06:29:34 +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;6184955d66bfb086ba06210ff17a57c5@www.njlibertyhyundai.com&gt;
Date: Sat, 30 May 2026 06\:29\:34 \+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_1780086574_48e0a9baa8ec0e975685f0bbb49d4992_=_&quot;


--_=_swift_v4_1780086574_48e0a9baa8ec0e975685f0bbb49d4992_=_
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

HTML part

--_=_swift_v4_1780086574_48e0a9baa8ec0e975685f0bbb49d4992_=_
Content-Type: image/gif; name=image.gif
Content-Transfer-Encoding: base64
Content-Disposition: inline; filename=image.gif
Content-ID: &lt;d061743378d2736ea9eacdf3f0ac44a6@www\.njlibertyhyundai\.com&gt;

PGRhdGE\+

--_=_swift_v4_1780086574_48e0a9baa8ec0e975685f0bbb49d4992_=_--
$~D] not detected in [String: Message-ID: &lt;6184955d66bfb086ba06210ff17a57c5@www.njlibertyhyundai.com&gt;
Date: Sat, 30 May 2026 06:29:34 +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;6184955d66bfb086ba06210ff17a57c5@www.njlibertyhyundai.com&gt;
Date: Sat, 30 May 2026 06\:29\:34 \+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_1780086574_48e0a9baa8ec0e975685f0bbb49d4992_=_&quot;


--_=_swift_v4_1780086574_48e0a9baa8ec0e975685f0bbb49d4992_=_
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

HTML part

--_=_swift_v4_1780086574_48e0a9baa8ec0e975685f0bbb49d4992_=_
Content-Type: image/gif; name=image.gif
Content-Transfer-Encoding: base64
Content-Disposition: inline; filename=image.gif
Content-ID: &lt;d061743378d2736ea9eacdf3f0ac44a6@www\.njlibertyhyundai\.com&gt;

PGRhdGE\+

--_=_swift_v4_1780086574_48e0a9baa8ec0e975685f0bbb49d4992_=_--
$~D] not detected in [String: Message-ID: &lt;6184955d66bfb086ba06210ff17a57c5@www.njlibertyhyundai.com&gt;
Date: Sat, 30 May 2026 06:29:34 +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;4740aee91b3fdc42e1283ffa31414b7f@www.njlibertyhyundai.com&gt;
Date: Sat, 30 May 2026 06\:29\:34 \+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_1780086574_bd2069a1a0fc703c3963f1f17cede303_=_&quot;


--_=_swift_v4_1780086574_bd2069a1a0fc703c3963f1f17cede303_=_
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

HTML part

--_=_swift_v4_1780086574_bd2069a1a0fc703c3963f1f17cede303_=_
Content-Type: text/plain; name=data.txt
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=data.txt

PGRhdGE\+

--_=_swift_v4_1780086574_bd2069a1a0fc703c3963f1f17cede303_=_--
$~D] detected at character [0] in [String: Message-ID: &lt;4740aee91b3fdc42e1283ffa31414b7f@www.njlibertyhyundai.com&gt;
Date: Sat, 30 May 2026 06:29:34 +1000
Subject: test subject
From: user@domain.tld
To: user@domain.tld
Cc: other@domain.tld...] as [Message-ID: &lt;4740aee91b3fdc42e1283ffa31414b7f@www.njlibertyhyundai.com&gt;
Date: Sat, 30 May 2026 06:29:34 +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_1780086574_bd2069a1a0fc703c3963f1f17cede303_=_&quot;


--_=_swift_v4_1780086574_bd2069a1a0fc703c3963f1f17cede303_=_
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

HTML part

--_=_swift_v4_1780086574_bd2069a1a0fc703c3963f1f17cede303_=_
Content-Type: text/plain; name=data.txt
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=data.txt

PGRhdGE+

--_=_swift_v4_1780086574_bd2069a1a0fc703c3963f1f17cede303_=_--
] in region [Message-ID: &lt;4740aee91b3fdc42e1283ffa31414b7f@www.njlibertyhyundai.com&gt;
Date: Sat, 30 May 2026 06:2...] at [/var/www/njlibertyhyundai.com/public_html/php/classes/swift/tests/bug/Swift/Bug38Test.php line 182]</pass>
      <pass>Pattern [~^Message-ID: &lt;4740aee91b3fdc42e1283ffa31414b7f@www.njlibertyhyundai.com&gt;
Date: Sat, 30 May 2026 06\:29\:34 \+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_1780086574_bd2069a1a0fc703c3963f1f17cede303_=_&quot;


--_=_swift_v4_1780086574_bd2069a1a0fc703c3963f1f17cede303_=_
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

HTML part

--_=_swift_v4_1780086574_bd2069a1a0fc703c3963f1f17cede303_=_
Content-Type: text/plain; name=data.txt
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=data.txt

PGRhdGE\+

--_=_swift_v4_1780086574_bd2069a1a0fc703c3963f1f17cede303_=_--
$~D] detected at character [0] in [String: Message-ID: &lt;4740aee91b3fdc42e1283ffa31414b7f@www.njlibertyhyundai.com&gt;
Date: Sat, 30 May 2026 06:29:34 +1000
Subject: test subject
From: user@domain.tld
To: user@domain.tld
Cc: other@domain.tld...] as [Message-ID: &lt;4740aee91b3fdc42e1283ffa31414b7f@www.njlibertyhyundai.com&gt;
Date: Sat, 30 May 2026 06:29:34 +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_1780086574_bd2069a1a0fc703c3963f1f17cede303_=_&quot;


--_=_swift_v4_1780086574_bd2069a1a0fc703c3963f1f17cede303_=_
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

HTML part

--_=_swift_v4_1780086574_bd2069a1a0fc703c3963f1f17cede303_=_
Content-Type: text/plain; name=data.txt
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=data.txt

PGRhdGE+

--_=_swift_v4_1780086574_bd2069a1a0fc703c3963f1f17cede303_=_--
] in region [Message-ID: &lt;4740aee91b3fdc42e1283ffa31414b7f@www.njlibertyhyundai.com&gt;
Date: Sat, 30 May 2026 06:2...] at [/var/www/njlibertyhyundai.com/public_html/php/classes/swift/tests/bug/Swift/Bug38Test.php line 183]</pass>
    </test>
  </case>
</run>
