Mail_mime: SpamAssassin tag 'MIME_MISSING_BOUNDARY' (a Bug?)
| From: | Joseph Lee | Date: | Thu, 24 Jul 2003 16:32:50 +0000 |
| Subject: | Mail_mime: SpamAssassin tag 'MIME_MISSING_BOUNDARY' (a Bug?) | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-18635@lists.php.net to get a copy of this message | ||
Hi,
It seems all the E-Mail I've generated with Mail_Mime are tagged
"MIME_MISSING_BOUNDARY" by SpamAssassin version 2.55. This may result
some E-Mail servers that use SpamAssassin to tag my e-mail as SPAM.
Is there any way I can fix the 'missing boundary'?
Any advice or ideas are appreciated. Thank you in advance.
Regards,
Joe Lee.
// SpamAssassin v2.55 Tag:
"MIME_MISSING_BOUNDARY (1.3 points) RAW: MIME section missing
boundary"
// PHP Source
// using Mail 1.1.1 (Stable) and Mail_Mime 1.2.1 (Stable)
$mime = new Mail_mime("\r\n");
$mime->setTXTBody($mText);
$mime->setHTMLBody($mHtml);
$mime->addAttachment($CertData, 'text/html', 'Certificate.html',
false);
$mime->addAttachment('Policy.pdf', 'application/x-pdf');
$body = $mime->get();
$hdrs = $mime->headers($mHeader);
$mail =& Mail::factory('mail');
$mail->send($Value['EMail'], $hdrs, $body);