2 Bug #9725 multipart/related & alternative wrong order
6 include("Mail/mime.php");
8 $mime = new Mail_mime();
9 $mime->setTXTBody("test");
10 $mime->setHTMLBody("test");
11 $mime->addHTMLImage("test", 'application/octet-stream', '', false);
13 $head = $mime->headers();
14 $headCT = $head['Content-Type'];
15 $headCT = explode(";", $headCT);
18 $ct = preg_match_all('|Content-Type: ([^;\r\n]+)|', $body, $matches);
21 foreach ($matches[1] as $match){
30 application/octet-stream