josantot wrote: > Can any one help me to find a class to parse email and download attached file from the email? > Have a look at Mail_mimeDecode from PEAR: http://pear.php.net/manual/en/package.mail.mail-mimedecode.decode.php you can probably use it's decode method to parse the mail and then send the correct content-type and the body of the correct part of the mail. ------------------------ Yahoo! Groups Sponsor --------------------~--> Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar. Now with Pop-Up Blocker. Get it for free! http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/saFolB/TM --------------------------------------------------------------------~-> PHP Data object relational mapping generator - http://www.meta-language.net/ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-objects/ <*> To unsubscribe from this group, send an email to: php-objects-unsubscribe@yahoogroups.com <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/