MIME files decoding

From: Date: Thu, 15 Jul 2004 08:45:19 +0000
Subject: MIME files decoding
Groups: php.general 
Request: Send a blank email to php-general+get-190579@lists.php.net to get a copy of this message
Hello all, In order to use pear mimedecode.php I have a few questions that were not answered by the documentation. I have emails that have .zip, .pdf, .txt and .csv files. Some emails have more than one attachment. I would like to have a php script to fetch these emails and save only those with .zip , .txt and .csv deleting everything else. Can anyone point me how to use mimedecode so that I can keep the original filename of the attachment. How can I obtain the file name? Thanks in advance.

« previous php.general (#190579) next »