On Saturday 01 February 2003 23:21, Bartosz Matosiuk wrote:

>     well actually I know what is the mechanism of sending mime messages
> with atttachments works, the problem is that I don't know how to to read
> attachment. I tried to use Pear decode functions but it only gives me info
> that there are attachments in the message which is obviosly not enough.
>
>     so I'm putting my question once again: how to read attachment from the
> mime message and how to save it on client hard drive???

1) You can see whether the functions in "IMAP, POP3 and NNTP functions" are of 
any use.

2) You can dissect a working PHP webmail application to see how others have 
done it: www.squirrelmail.org etc

3) You can make use of commandline programs to do the dirty work: reformime 
etc.

Personally, I've had good results using reformime.

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
"Little prigs and three-quarter madmen may have the conceit that the laws of 
nature are constantly broken for their sakes."
-- Friedrich Nietzsche
*/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to