Help on e-mail attachments retrieval adn ZIP uncompression.
| From: | Carlos Fernando Scheidecker Antunes | Date: | Mon, 03 Sep 2001 15:32:26 +0000 |
| Subject: | Help on e-mail attachments retrieval adn ZIP uncompression. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-65767@lists.php.net to get a copy of this message | ||
Hello Everybody,
I have a software writen in Delphi which I am migrating to Kylix but I would like to do it in PHP
instead.
What the software does is to access an e-mail address and retrieve the messages saving the files
ending with .zip to a local directory. After that, it decompresses the ZIP files and read their txt
contents and import the contents to a MySQL database. Each ZIP file has a TXT file.
So what I need to know and the help I am asking you for is :
1) How to retrieve messages from a POP3 mailbox and save only the ZIP files attachments?
2) How to decompress the ZIP files?
Thank you,
Carlos Fernando.
Linux User #207984