PHP Classes

Problem whith decode

Recommend this page to a friend!

      PHP MIME Email Message Parser  >  All threads  >  Problem whith decode  >  (Un) Subscribe thread alerts  
Subject:Problem whith decode
Summary:Any problems with analyze
Messages:5
Author:Xizzzy
Date:2008-01-21 19:55:17
Update:2008-01-22 10:05:46
 

  1. Problem whith decode   Reply   Report abuse  
Picture of Xizzzy Xizzzy - 2008-01-21 19:55:17
Hi, Manuel! I have a problem with analyze. When the email message was decoded I see it:

["DecodedHeaders"]=>
array(3) {
["from:"]=>
array(1) {
[0]=>
array(1) {
[0]=>
array(2) {
["Value"]=>
string(47) "чЙФБМЙК сУОПУПМОЩЫЛПЧ "
["Encoding"]=>
string(6) "KOI8-R"
}
}
}

But, after analyze this headers of message was displayed other result:

["From"]=>
array(1) {
[0]=>
array(2) {
["address"]=>
string(23) "[email protected]"
["name"]=>
string(74) "=?koi8-r?Q?=F7=C9=D4=C1=CC=C9=CA_=F1=D3=CE=CF=D3=CF=CC=CE=D9=DB=CB=CF=D7?="
}
}

  2. Re: Problem whith decode   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2008-01-21 20:37:58 - In reply to message 1 from Xizzzy
Yes, the analyze version does not return the decoded version of the header names. That is on my to do list. I will try to support that in the next release.

  3. Re: Problem whith decode   Reply   Report abuse  
Picture of Xizzzy Xizzzy - 2008-01-22 01:18:48 - In reply to message 2 from Manuel Lemos
Ok. I shall wait. Thank you for the very useful class!

  4. Re: Problem whith decode   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2008-01-22 05:03:40 - In reply to message 3 from Xizzzy
Ok, I just uploaded a new version that implements character set decoding.

  5. Re: Problem whith decode   Reply   Report abuse  
Picture of Xizzzy Xizzzy - 2008-01-22 10:05:47 - In reply to message 4 from Manuel Lemos
oooh yeeeh!!! Beautiful!!! Thank you, Manuel!!!