PHP Classes

Parsing Multipart messages

Recommend this page to a friend!

      PHP MIME Email Message Parser  >  All threads  >  Parsing Multipart messages  >  (Un) Subscribe thread alerts  
Subject:Parsing Multipart messages
Summary:Parsing of Multipart messages with no 'Content-Type' field
Messages:12
Author:shailesh
Date:2007-06-17 14:25:09
Update:2007-06-25 09:08:41
 
  1 - 10   11 - 12  

  11. Re: Parsing Multipart messages   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2007-06-25 06:55:08 - In reply to message 10 from shailesh
I doubt that Gmail and Hotmail ever send non-compliant messages. It would cause problems to many people.

I just tried sending messages to my mail server and see the messages in the mailbox directly without retrieving them with my mail client. The messages come well-formed as expected. Just take a look below. I just omitted some received headers to make them short.

The Hotmail message is plain text because I am using Firefox to access Hotmail. Still it has the Content-Type header.

It seems the problem is not really with Hotmail or Gmail. I suspect that you are not viewing messages as you should or your mail server is doing something odd to your messages.


Return-Path: <myaccount@gmail.com>
Message-ID: <8ff04adc0706242334g6521a3caw539bef914b1b56c9@mail.gmail.com>
Date: Mon, 25 Jun 2007 03:34:56 -0300
From: "Manuel Lemos" <myaccount@gmail.com>
To: my@address.com
Subject: Testing Gmail messages!
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="----=_Part_5838_22942837.1182753296005"

------=_Part_5838_22942837.1182753296005
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Testing Gmail messages!

------=_Part_5838_22942837.1182753296005
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Testing Gmail messages!<br>

------=_Part_5838_22942837.1182753296005--



Return-Path: <myaccount@hotmail.com>
Message-ID: <BAY105-W7B6BA750194572A257443A4140@phx.gbl>
From: Manuel Lemos <myaccount@hotmail.com>
To: <my@address.com>
Subject: Testing Hotmail messages!
Date: Mon, 25 Jun 2007 07:50:05 +0100
Importance: Normal
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Return-Path: myaccount@hotmail.com
X-OriginalArrivalTime: 25 Jun 2007 06:50:06.0256 (UTC) FILETIME=[1072F300:01C7B6F5]


Testing Hotmail messages!

  12. Re: Parsing Multipart messages   Reply   Report abuse  
Picture of shailesh shailesh - 2007-06-25 09:08:41 - In reply to message 11 from Manuel Lemos
Hi Manuel,
If that is what you are getting , then I should restart my activity on finding how at all I am getting these kind of messages on my mail server.
I am acknowledging you for the effort taken , I will let you know
if I find anything at all. I guess , now I dont have to send you my fixes in mime_parser.php unless you want it.

Thanks
Shailesh P Shirali
Bangalore India


 
  1 - 10   11 - 12