PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Mail » Mail_Mime » Bug #4358

= Don't show correctly under Mac Mail

Details

Submitted2005-05-16 15:25 UTC
Frommartin dot dunisch at gmail dot com
Assignedcipri
StatusNo Feedback
PackageMail_Mime
PHP Version4.3.8
OSLinux
Roadmaps(Not assigned)

Comments

[2005-05-16 15:25 UTC] martin dot dunisch at gmail dot com

Description:
------------
If i generate an eMail, under MS Outlook, it will me showed correctly. Under Mac Mail-Program in the HTML-Code all "=" replaced with "=3D"

Reproduce code:
---------------
include("Mail.php");
include("Mail/mime.php");
$mail_html = file_get_contents("htmlmail.html");

$mime = new Mail_mime($crlf);

$mime->setHTMLBody($mail_html);

$body = $mime->get();
$hdrs = $mime->headers($hdrs);

$mail = new Mail('mail');
$mail->send($_POST["an_mail"], $hdrs, $body);

Expected result:
----------------
<body bgcolor="#FFCD00" link="black" vlink="black"...

Actual result:
--------------
<body bgcolor=3D"#FFCD00" link=3D"black" vlink=3D"black"...

[2005-05-16 15:26 UTC] martin dot dunisch at gmail dot com

the follow code is also in my PHP:

$crlf = "\n";
$hdrs = array(
'From' => $_POST["von_mail"],
'Subject' => $_POST["von"]
);

[2005-05-22 23:23 UTC] cpriest at warpmail dot net

I too am getting the =3D Issue, I'm just using the standard functions, but doing an $objMime->get(), all href="" are coming out href=3D""

Any idea whats up with that?