[PEAR-BUG] Bug #15807 [NEW]: when save output as .eml file ms outlook not understand well
[email protected] ("eguvenc at gmail dot com")
| Newsgroups | php.pear.doc,php.pear.doc |
|---|---|
| Message-ID | <[email protected]> |
From: develturk
Operating system: Windows / XAMPP
Package version:
PHP version: 5.2.4
Package: Documentation
Bug Type: Bug
Bug description: when save output as .eml file ms outlook not understand well
Description:
------------
##### SAVE THIS OUTPUT AS .EML FILE AND OPEN IT WITH A MAIL PROGRAM
#####
Received: from spooler by localhost (Mercury/32 v4.01b); 29 Jan 2009
15:53:03 +0200
X-Envelope-To: <ersin@localhost>
Return-path: <ersin@localhost>
Received: from hpPC (127.0.0.1) by localhost (Mercury/32 v4.01b) ID
MG000011;
29 Jan 2009 15:53:02 +0200
Message-ID: <DBA90923C0294775A46CD859E5F2425A@hpPC>
From: =?iso-8859-9?Q?Ersin_G=FCven=E7?= <ersin@localhost>
To: <ersin@localhost>
Subject: test
Date: Thu, 29 Jan 2009 15:53:01 +0200
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="----=_NextPart_000_0003_01C98229.AA154340"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Windows Mail 6.0.6001.18000
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049
This is a multi-part message in MIME format.
------=_NextPart_000_0003_01C98229.AA154340
Content-Type: text/plain;
charset="iso-8859-9"
Content-Transfer-Encoding: quoted-printable
test email
__________ NOD32 3805 (20090127) Information __________
This message was checked by NOD32 antivirus system.
http://www.eset.com
-----=_NextPart_000_0003_01C98229.AA154340
Content-Type: text/html;
charset="iso-8859-9"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-9">
<META content=3D"MSHTML 6.00.6001.18183" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>test=20
<STRONG>email</STRONG></FONT></DIV><BR>
<BR>
__________ NOD32 3805 (20090127) Information __________<BR>
<BR>
This message was checked by NOD32 antivirus system.<BR>
<A HREF=3D"http://www.eset.com">http://www.eset.com</A><BR>
/BODY></HTML>
------=_NextPart_000_0003_01C98229.AA154340--
Test script:
---------------
include('Net/POP3.php');
$user='ersin';
$pass='123456';
$host='localhost';
$port="110";
$pop3 =& new Net_POP3();
if(PEAR::isError( $ret= $pop3->connect($host , $port ) )){ echo "ERROR: "
. $ret->getMessage() . "\n"; exit();}
if(PEAR::isError( $ret= $pop3->login($user , $pass,'USER' ) )){ echo
"ERROR: " . $ret->getMessage() . "\n"; exit();}
// Get entire message
echo "<h2>getMsg()</h2>\n";
echo "<pre>" . htmlspecialchars($pop3->getMsg(1)) . "</pre>\n";
// Disconnect
$pop3->disconnect();
Expected result:
----------------
test email (OUTLOOK VIEW)
Actual result:
--------------
test email (OUTLOOK VIEW)
__________ NOD32 3805 (20090127) Information __________
This message was checked by NOD32 antivirus system.
http://www.eset.com
-----=extPart_000_0003_01C98229.AA154340
Content-Type: text/html;
charset=so-8859-9"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-9">
<META content="MSHTML 6.00.6001.18183" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>test
<STRONG>email</STRONG></FONT></DIV><BR>
<BR>
__________ NOD32 3805 (20090127) Information __________<BR>
<BR>
This message was checked by NOD32 antivirus system.<BR>
<A HREF="http://www.eset.com">http://www.eset.com</A><BR>
/BODY></HTML>
--
Edit bug report at http://pear.php.net/bugs/bug.php?id=15807&edit=11
--