Welcome Guest, Not a member yet? Register   Sign In
New IMAP library!
#8

[eluser]sophistry[/eluser]
yes, and sometimes the 'personal' array index is "Word-Encoded" per RFC2047 so you have to decode it using quoted_printable_decode() or base64_decode() - it will be one or the other if it is encoded. most of the time it won't be encoded, but it's safer to detect encodings and handle every personal field as if it is encoded.

the subject data has the same issue.

as a test (to show what i am talking about), use the CI email class to send yourself an email. the CI class encodes the subject in UTF8 quoted printable. when you pick it up with your regular email client (say outlook or whatever) the email client decodes it for you without asking. but in your IMAP class, if you don't decode it, it is almost unreadable.


Messages In This Thread
New IMAP library! - by El Forum - 04-06-2009, 12:36 PM
New IMAP library! - by El Forum - 04-06-2009, 01:51 PM
New IMAP library! - by El Forum - 04-06-2009, 01:56 PM
New IMAP library! - by El Forum - 04-06-2009, 02:11 PM
New IMAP library! - by El Forum - 04-06-2009, 02:50 PM
New IMAP library! - by El Forum - 04-06-2009, 03:12 PM
New IMAP library! - by El Forum - 04-06-2009, 03:38 PM
New IMAP library! - by El Forum - 04-06-2009, 04:44 PM
New IMAP library! - by El Forum - 04-06-2009, 05:03 PM
New IMAP library! - by El Forum - 04-06-2009, 05:38 PM
New IMAP library! - by El Forum - 04-07-2009, 09:11 AM
New IMAP library! - by El Forum - 06-28-2009, 09:36 AM
New IMAP library! - by El Forum - 06-29-2009, 09:50 AM
New IMAP library! - by El Forum - 09-28-2009, 07:58 AM
New IMAP library! - by El Forum - 09-28-2009, 08:18 AM
New IMAP library! - by El Forum - 09-28-2009, 08:29 AM
New IMAP library! - by El Forum - 09-28-2009, 04:16 PM
New IMAP library! - by El Forum - 09-28-2009, 06:10 PM
New IMAP library! - by El Forum - 12-02-2009, 10:02 AM



Theme © iAndrew 2016 - Forum software by © MyBB