[Mimedefang] Re: html to text (Matt Kozloski)

Kozloski, Matthew matthew.kozloski at strus.com
Tue Mar 12 10:18:54 EST 2002


I am just dropping the text/html part of the message.  It has worked well,
and we haven't lost anything.  Here is what I do:

if($type eq "text/html") { 
	action_add_header("X-WARNING", "This message contained an HTML MIME
part -- it has been removed.");
	return action_drop(); 
}

I also like to use the X-header to warn the user that I have altered the
message.  Any comments on this method?

Matt

Matthew E. Kozloski, Information Systems Support
Specialized Technology Resources, Inc.

email: matthew.kozloski at strus.com



More information about the MIMEDefang mailing list