PHP Classes

Decoding non-MIME messages

Recommend this page to a friend!

      PHP MIME Email Message Parser  >  All threads  >  Decoding non-MIME messages  >  (Un) Subscribe thread alerts  
Subject:Decoding non-MIME messages
Summary:Can I use this class to decode non-MIME messages
Messages:3
Author:Edward Hibbert
Date:2011-08-24 19:39:35
Update:2011-08-24 22:17:04
 

  1. Decoding non-MIME messages   Reply   Report abuse  
Picture of Edward Hibbert Edward Hibbert - 2011-08-24 19:39:35
Great class, thanks. I was wondering whether I could use it to handle the decode of transfer encodings for a non-MIME message. So if I have a message with:

Content-Transfer-Encoding: base64
Content-Type: text/plain; charset="Windows-1252"

...then I would like to be able to extract the base64-decoded version of the message (and the same for QP). Is this possible?

  2. Re: Decoding non-MIME messages   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2011-08-24 22:12:45 - In reply to message 1 from Edward Hibbert
That is still MIME. You should have no problem decoding that kind of message with this class. Just let me know if you have problems.

  3. Re: Decoding non-MIME messages   Reply   Report abuse  
Picture of Edward Hibbert Edward Hibbert - 2011-08-24 22:17:05 - In reply to message 2 from Manuel Lemos
Yes, it works. I wasn't sure where to look if not in Parts, but it's in Body. Thanks again for the class.