attachments, mime, encapsulated forwards.

From: Date: Fri, 07 Jan 2000 02:53:11 +0000
Subject: attachments, mime, encapsulated forwards.
Groups: php.dev 
Request: Send a blank email to php-dev+get-14328@lists.php.net to get a copy of this message
I noticed quite a few people with php-mime-web-email systems were not actually viewing mimed attachments correctly, and I had to build one myself as well... What I ended up with is a short function that recurses through the email structure, and pulls out all attachments, the imap_fetch_ids, and all encapsulated forwarded headers. I also made a short regexp to format this header file into an object with keys like Date, From, To, etc, etc... I wonder if this is worth actually putting in the php source, since anyone with an email system can use, and will probably need this for mime enabled email applications. I'd appreciate any input, here is the script now, the source, and the imap-mime-crash-test: http://pelchior.dyndns.org/mail/mail.html -- note, this is all in php now.... it's unformatted, and I don't actually deal with a specific encoding type, subtype, since that is completely up to the user... Thanks, Justin

« previous php.dev (#14328) next »