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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]