On Tue, 16 Aug 2011 14:28:46 +0200
"Rolf E. Sonneveld" <[email protected]> wrote:

> Where does MIMEDefang (or MIME::Entity) gets this content-type
> multipart/mixed from?

MIMEDefang automatically converts a single-part into a multi-part
entity before processing it.  That's so things like action_add_part,
etc.  work easily.  MIMEDefang converts the message back to a
single-part message at the end if such conversion is possible without
losing information.

If you really need the original MIME part of the top (outer) header, you'll
need to open the file ./HEADERS for reading and parse out the Content-Type:
header yourself, unfortunately.

Regards,

David.
_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list [email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to