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

[eluser]sophistry[/eluser]
i think you misunderstood my suggestion about quoted_printable_decode(). i see you've added a class method _quoted_printable_encode() which does some limited transformation of urlencoded text (using str_replace()) and then runs a preg_replace() looking for "not newline chars" and replacing them with equals signs (some kind of word wrapping routine?). but, that code doesn't make sense there. that's the sort of thing you would do to prepare an email to send, not to receive... and the fact that it is named encode rather than decode? i'm not sure what issue the code solves at that point - it seems extra. is there something i am missing?

did you send yourself an email from the CI email lib and look at the source of the email to see the way the CI email lib prepares a quoted_printable encoded subject?


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