PHP Classes

Base64_decode

Recommend this page to a friend!

      POP3 e-mail client  >  All threads  >  Base64_decode  >  (Un) Subscribe thread alerts  
Subject:Base64_decode
Summary:Message is not decoding Base64 emails
Messages:3
Author:kevin Mortimer
Date:2007-07-20 10:09:09
Update:2007-07-20 20:37:31
 

  1. Base64_decode   Reply   Report abuse  
Picture of kevin Mortimer kevin Mortimer - 2007-07-20 10:09:09
I am downloading emails using your php class and all is fine except for some emails that have the following encoding

------_=_NextPart_001_01C7CA28.CC3CB0B2
Content-Type: text/plain;
charset="utf-8"
Content-Transfer-Encoding: base64

Is it possible to update your class to cater for these type of emails?

  2. Re: Base64_decode   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2007-07-20 20:32:08 - In reply to message 1 from kevin Mortimer
The class decodes base64 encoded messages since ever.

Could you be telling the Decode function to not decode message bodies? What is the array of parameters that you are passing to the Decode function?

  3. Re: Base64_decode   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2007-07-20 20:37:31 - In reply to message 1 from kevin Mortimer
Sorry, I meant the MIME parser class decodes any kind of message body part.

You need to use the POP3 class in conjunction with the MIME parser class. See parse_message.php example to learn how to use the POP3 and MIME parser classes together.

phpclasses.org/mimeparser