[Mimedefang] MIME::Entity->attach encoding of an already encoded body/bodyhandle

Rolf E. Sonneveld R.E.Sonneveld at sonnection.nl
Fri Aug 5 16:46:54 EDT 2011


On 8/5/11 12:05 AM, David F. Skoll wrote:
> 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.

OK. I'll give that a try next week. Have a nive weekend,

/rolf




More information about the MIMEDefang mailing list