--TEST--
Bug #8386 HTML body not correctly encoded if attachments present
--SKIPIF--
--FILE--
$eol));
$encoder->setTXTBody('test');
$encoder->setHTMLBody('test');
$encoder->addAttachment('Just a test', 'application/octet-stream', 'test.txt', false);
$body = $encoder->get();
if (strpos($body, '--' . $eol . '--=')){
print("FAILED\n");
print("Single delimiter() between 2 parts found.\n");
print($body);
}else{
print("OK");
}
?>
--EXPECT--
OK