All that jazz aside, I'll tell you about my problem. For my project, I am looking to parse the data of an email retrieved via the IMAP protocol into an array containing the headers and their data as well as the main body of the message and the email's associated attachments... Crazy shwag, right?
Currently I am using the IMAP and MIME Decode classes by Harish Chauhan... I believe that this would be the simplest solution to my challenge (assuming that I could actually get this working right). The classes are fairly beautiful in themselves, however I'm having horrible issues with the MIME Decode class in that I cannot get it to return the headers in an array, even when I have tried the code provided by Harish himself. The classes were apparantly written about three years ago or so, so it could simply be that some of the functions are no longer compatible with the newer versions of PHP (or the newer PHPs' default settings), but I don't really have the experience to track down the source of this issue and correct it.
And thus my question: both of Chauhan's classes have virtually no documentation beyond the comments in the code, and many of the comments are totally sketch and unhelpful; try as I might to find a good tutorial or better documentation on the net, my attempts have failed miserably to turn up anything worthwhile. Is anyone aware of a functional integration/example of these classes? Or, alternately, I'm totally open to other alternatives... I would be happy to use PHP's built-in IMAP functions along with some other MIME decoder/parser if someone could point me towards a good one.
This post has been edited by KuroTsuto: 11 July 2009 - 12:43 PM