[Mimedefang] Error with attaching new entities.
David F. Skoll
dfs at roaringpenguin.com
Tue Jan 22 17:42:02 EST 2002
On Tue, 22 Jan 2002, Jeff Heinen wrote:
> As part of filter_end, I added this little goodie, an attempt to add the
> SpamAssassin report to every message in a way that doesn't make Outlook mess
> itself. (Which is why I can't use append_boilerplate).
> # Add report as new MIME attachment.
>
> $entity->attach(Type => "text/plain",
> Encoding => "quoted-printable",
> Filename => "SAreport.txt",
> Disposition => "attachment",
> Data => $report);
> $Changed=1;
Try doing:
$entity->make_multipart();
before you do the attach().
--
David.
More information about the MIMEDefang
mailing list