[Mimedefang] Content-type mystery
David F. Skoll
dfs at roaringpenguin.com
Mon Aug 22 12:33:35 EDT 2011
On Tue, 16 Aug 2011 14:28:46 +0200
"Rolf E. Sonneveld" <R.E.Sonneveld at sonnection.nl> 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
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.
More information about the MIMEDefang