http://www.phpguru.org/pear/contents.html and look at the mimeDecode.php script.
Or browse through the PEAR files that come with PHP... Or, if your PHP is compiled with imap support check out some of the imap functions. -philip On Mon, 4 Mar 2002, Seth Northrop wrote: > > Does anyone know the best method for quickly extracting the various parts > of an email message read from /dev/stdin, say into an array? > > Basic functionality is to strip out everything (including headers) except > for plain/text data, but, ultimately I may want to work with binary and/or > html attachments. > > Thanks! > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php