An mbox file is pretty much just a whole bunch of email files smushed together into one big file. If you pretend that your single email *IS* an mbox, by putting it into a file, it will work. On Tue, January 30, 2007 3:32 am, Pierre Pintaric wrote: > Jim Lucas a écrit : >> Pierre Pintaric wrote: >>> Hello there, >>> >>> I'm sure this question was ask 1,000 times, but I didn't find any >>> archive about this, that's why I need help... >>> >>> Here is my problem: >>> I receive mail file from my MTA (ie QMail), that works fine. Now, I >>> would to find a class or a function that parse the mail and gives >>> headers informations, body of the mail (even if it is a multi-part >>> mail) and file attachments. >>> I found nothing in PEAR library, nothing on the web, ... >>> >>> I don't what want to rebuild the wheel if somebody works on it and >>> made a good job... >>> If somebody uses a great function and want to share, I will please >>> him... :-) >>> >>> Thanks for your help. >>> >>> Pierre >>> >> >> google.com and ask for php web mail client >> >> This will return you many different examples of php programs that >> have >> the function/class that you are looking for. >> > > Of course, I looked for that, in PEAR, you can find Mail::IMAP and > Mail::MBox... > All this exemples connect to an IMAP server or to a MBox file, I would > only parse an email file... > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some starving artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php