Mark wrote:

> I always thought that writing the altered message part back to the file
> path, given by $message_body -> path, would suffice for MIME::Parser to
> recode the part to what it originally was encoded with.

That is correct, with one caveat: You must call action_rebuild() to
inform MIMEDefang that the message has changed, so that it knows it
has to re-encode all the parts.  Normally, if you don't change
anything in the message, MIMEDefang won't rebuild it -- this saves
pointless smfi_replacebody calls.

Regards,

David.
_______________________________________________
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