php/webmail question
| From: | Adrian D'Costa | Date: | Fri, 13 Jul 2001 08:26:07 +0000 |
| Subject: | php/webmail question | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-57699@lists.php.net to get a copy of this message | ||
Hi,
I am writing a webmail in php using pop3 as the ones I downloaded do not
do what I want.
Assuming I am able to connect and get the list of messages and sizes. Now
I have a couple of attachments on some mails. When I read the message it
just displays the base64 encoded message (trying to build on rymo webmail
rymo.sourceforge.net).
I did the following: I check if the Content-Type is MULTIPART and got the
BOUNDARY but don't know how to proceed from there on. How do I read the
body of the message seperating each attachment and giving an
option do download or view (something like squirrelmail). Any example
would be great
TIA
Adrian