This is a discussion on MIME decoder for use as the target of an Alias? within the PHP General forums, part of the PHP Programming Forums category; I've got a strange request, maybe one of the experts here can help? I need to be able to ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I've got a strange request, maybe one of the experts here can help?
I need to be able to take a mail message on stdin, bust it up into headers, and the constituent mime-parts if any, and be able to parse the headers, and get at any text/plain (or only) part, and shove the headers and text/plain into a database. I really don't feel like reinventing the wheel on the mime side. PHP 4.3.x, if it matters. Thanks! LER -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 972-414-9812 E-Mail: ler@lerctr.org US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749 |
|
|||
|
There are classes built into PEAR that handle that
Larry Rosenman wrote: > I've got a strange request, maybe one of the experts here can help? > > I need to be able to take a mail message on stdin, bust it up into > headers, and the constituent mime-parts if any, and be able to parse the > headers, and get at any > text/plain (or only) part, and shove the headers and > text/plain into a database. > > I really don't feel like reinventing the wheel on the mime side. > > PHP 4.3.x, if it matters. > > Thanks! > > LER > > |