On Fri, 30 Sep 2005, John Rudd wrote:
> if ($recipient =~ /[EMAIL PROTECTED]/) {
>
> (note: you forgot the $/ at the end of the regex)
If you're going to anchor it like that, then you should account for
the optional angle brackets; e.g.,
if ($recipient =~ /<[EMAIL PROTECTED]>?$/i) {
I would also recommend a case-insensitive match.
HTH...
Jim McCullars
University of Alabama in Huntsville
_______________________________________________
Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list
[email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang