Hi, David,

thanks for your support,

On 8/4/11 6:39 PM, David F. Skoll wrote:
On Thu, 04 Aug 2011 18:37:02 +0200
"Rolf E. Sonneveld"<[email protected]>  wrote:

$newmsg->make_multipart;
action_add_part($newmsg,$bpType,$bpEncoding,$bodypart,$bpFilename,"attachment");
No, not action_add_part.  I mean MIME::Entity's addpart method.

OK. Done. This, however, made no real difference with the results of the MIME::Entity->attach action. The output bodypart was still 'double-encoded'.

Please read the MIME::Entity man page carefully... all the info you need
is there.

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?

/rolf
_______________________________________________
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

Reply via email to