[Mimedefang] MIME::Entity->attach encoding of an already encoded body/bodyhandle
David F. Skoll
dfs at roaringpenguin.com
Thu Aug 4 18:05:41 EDT 2011
On Thu, 04 Aug 2011 21:03:45 +0200
"Rolf E. Sonneveld" <R.E.Sonneveld at sonnection.nl> 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.
More information about the MIMEDefang
mailing list