[Mimedefang] (more) external filter issues

David F. Skoll dfs at roaringpenguin.com
Wed Feb 13 08:09:47 EST 2002


On Tue, 12 Feb 2002, Ashley M. Kirchner wrote:

> Content-Description: test doc
> Content-Disposition: attachment; filename="Amy.doc"
> Content-Disposition.filename: foo.txt
> Content-Type.name: foo.txt

Oops.  Looks like I steered you wrong.  I gave incorrect instructions
on how to set the MIME Headers.

I think you need to do this:

$entity->head->replace('Content-Disposition', 'attachment; filename="foo.txt"');
$entity->head->replace('Content-Type', 'text/plain; name="foo.txt"');

Sorry about that.

--
David.




More information about the MIMEDefang mailing list