[Mimedefang] Correct?

Link, Pete plink at fna.com
Fri May 16 15:11:01 EDT 2003


Does this seem logically correct?

If the recipients are not in the mre.net, mre-consulting.com or
mreconsulting.com then attach the boiler plate.

However, it does not seem to work.  Any ideas???

    foreach $recipient (@Recipients) {
        if ($recipient =~ (m/$\@mre.net|
                            $\@u238.mre.net|$\@u238.mre-consulting.com|
                            $\@u235.mre.net|$\@u235.mre-consulting.com|
                            $\@mre-consulting.com|
                            $\@mreconsulting.com/i))
            {
            append_text_boilerplate($entity,"Dislaimer:\n".
            "This e-mail does not necessarilly represent ".
            "the official policy or opinions of MRE-Consulting, Inc.\n",0);

            append_html_boilerplate($entity,"<em>Disclaimer:</em>\n".
            "This e-mail does not necessarilly represent ".
            "the official policy or opinions of MRE-Consulting, Inc.\n", 0);
            }
    }




More information about the MIMEDefang mailing list