[Mimedefang] Case in-sentitive matching
Kevin A. McGrail
kmcgrail at pccc.com
Wed Apr 14 19:28:11 EDT 2004
> One simple way would be to force the whole match into upper case. I.e.:
>
> if (($type eq "text/plain") and
> toupper($entity->head->mime_attr("content-type.charset")) eq
> "WINDOWS-1251") {
Just to clarify in case the recipient doesn't know perl, it's uc() not
toupper(). Me thinks you are tired and have been fraternizing with the
devil aka PHP.
Regards,
KAM
More information about the MIMEDefang
mailing list