On Thu, 04 Aug 2011 21:03:45 +0200
"Rolf E. Sonneveld" <[email protected]> wrote:
> OK, I finally managed to get the contents of the bodypart correct by
> using the as_string method for $entity->bodyhandle during 'filter'
> phase. Is that the correct/best way to do it, or should I have used
> another approach?
You are over-thinking it. As far as I know:
$parent_entity->add_part($sub_entity);
should work, where both $parent_entity and $sub_entity are MIME::Entity
instance.
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