Bug #16824 Updated: mailparse functions. multipart/related type of messages

From: Date: Thu, 25 Apr 2002 17:13:45 +0000
Subject: Bug #16824 Updated: mailparse functions. multipart/related type of messages
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-5981@lists.php.net to get a copy of this message
ID: 16824 Updated by: wez@php.net Reported By: chaitanyajakhadi@yahoo.com -Status: Open +Status: Feedback Bug Type: Mailparse related Operating System: linux PHP Version: 4.1.2 New Comment: It works for me. The headers you included look like bogus headers to me, so I suspect that is the problem. Could you forward the entire message to me by private email? Send it to wez@php.net. Please make sure that you have read and understood the relevant rfcs about MIME and multipart messages (start with rfc2045). mailparse just allows you to take the message apart - it doesn't do any fancy stuff with multpart/related on it's own, you need to code that logic. Previous Comments: ------------------------------------------------------------------------ [2002-04-25 09:52:29] chaitanyajakhadi@yahoo.com Hi, Mailparse function does not parse multipart/related type of messages properly. It considers whole message as text/html. Headers of message is as follows Date: Tue, 12 Feb 2002 01:50:16 +0530 From: =?utf-8?Q?MSN Staff?= <msn_welcome@msn.com> Subject: =?utf-8?Q?Welcome to MSN?= MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_NextPart_00_0017_01C091F4.1B5EF6B0"; type="text/html" This is a multi-part message in MIME format. ------=_NextPart_00_0017_01C091F4.1B5EF6B0 Content-Type: text/html; charset="utf-8" <html> <head> <title class="clsGreeting">Welcome to MSN</title> </head> <body> <style type="text/css"> . . . . Due to type=text/html parameter to Content-Type: multipart/related; it is giving problem Regards, Chaitanya ========= ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=16824&edit=1

« previous php.bugs (#5981) next »