Im not sure exactly what you're trying to accomplish, however, you might be able to use EPS (http://www.inter7.com/eps) to perform this with a little C knowledge.
Hi, is there a full-text-search engine for courier or vpopmail ?
include the attached files! and base64 and QP encode ??
-- mailto:[EMAIL PROTECTED] Matt Brookings - Chief Technical Officer Inter7 Internet Technologies, Inc. www.inter7.com - 847-492-0470 Prices at http://www.inter7.com/prices