Home » Mail » Mail_Mime » Bug #5848
Warning: strpos(): Empty delimiter. in /usr/share/php/Mail/RFC822.php
Details
| Submitted | 2005-11-02 10:28 UTC |
|---|---|
| From | arthur at movenext dot nl |
| Status | Bogus |
| Package | Mail_Mime |
| PHP Version | 4.4.0 |
| OS | Linux |
| Roadmaps | (Not assigned) |
Comments
[2005-11-02 10:28 UTC] arthur at movenext dot nl
Description:
------------
I get the following error when trying to send a mail using Mail_mime:
Warning: strpos(): Empty delimiter. in /usr/share/php/Mail/RFC822.php on line 622
Test script:
---------------
include_once('Mail.php');
include_once('Mail/mime.php');
$crlf = "\n";
$hdrs = array(
'From' => $from_address. ' ('.$from_name.')',
'Subject' => $subject,
);
$mime = new Mail_mime($crlf);
//$mime->setTXTBody($text);
$mime->setHTMLBody($html_message);
$body = $mime->get();
$hdrs = $mime->headers($hdrs);
$mail =& Mail::factory('mail');
$mail->send($from_address. ' ('.$from_name.')', $hdrs, $body);
[2005-11-02 13:45 UTC] arthur at movenext dot nl
Please disregard this report