[Mimedefang] external_filter problem
Ashley M. Kirchner
ashley at pcraft.com
Tue Feb 12 11:40:25 EST 2002
"David F. Skoll" wrote:
> After you do the filter, you want to add something like this:
>
> $entity->head->replace('Content-type', 'text/plain');
> $entity->head->replace('Content-Disposition.filename', 'foo.txt');
> $entity->head->replace('Content-Type.name', 'foo.txt');
Ah, I was close. I didn't have the second line. Now, I'm assuming MD knows where 'foo.txt' is, correct? In other words, I don't have to tell it the full path, correct?
--
H | "Life is the art of drawing without an eraser." - John Gardner
+--------------------------------------------------------------------
Ashley M. Kirchner <mailto:ashley at pcraft.com> . 303.442.6410 x130
Director of Internet Operations / SysAdmin . 800.441.3873 x130
Photo Craft Laboratories, Inc. . 3550 Arapahoe Ave, #6
http://www.pcraft.com ..... . . . Boulder, CO 80303, U.S.A.
More information about the MIMEDefang
mailing list