New IMAP library! |
[eluser]sophistry[/eluser]
hey, this is great work! and your docs are really spiffy ![]() a few things you may want to ignore: 1) i don't see any decoding in the class - assuming that is left as an exercise for the reader? guaranteed that is the first question you are going to get about this: "why does the subject of the email say =?UTF8?Q?my_subject_here?=" 2) i think you can cast an object to an array and the property names become keys - shorter code for the conversion routine the imap_pop class on the wiki is focused more on POP functionality (built originally for a moblog) than IMAP so it's good to see how you approached wrapping the pure IMAP functions. if you are interested, the imap_pop class at the wiki shows how to do attachments and decoding. there is also a utility there that will parse any header string into a nested array of ALL headers instead of just the ones the IMAP class decides you should have. looking forward to seeing where you take this. |
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
|