in reply to Email::Valid appears to disqualify valid email addresses
Looks like your question has been answered, so I'll toss in a loosly related plug for a patch I wrote to Email::Valid which was supposed to make it in to the distribution, but the author has not gotten around to it yet.
One of the checks Email::Valid supports is to make sure that a domain has an MX record. In practice, I've found a lot of domains that have MX records which point to 127.0.0.1 (localhost). This is an obvious clue that the domain does not wish to be emailed and I thought that Email::Valid should pay attention to this and disallow email addresses at these domains.
The patch (for source, unit tests, and documentation) is here: http://www.anvilon.com/software/download/Email::Valid-mxlocalcheck.patch
The patch does not modify the normal behavior; you have to specifically ask for the localhost blocking mechanism check using a new option (mxlocalcheck).
-- Eric Hammond
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Email::Valid appears to disqualify valid email addresses
by liz (Monsignor) on Aug 21, 2003 at 12:01 UTC | |
by adrianh (Chancellor) on Aug 21, 2003 at 13:41 UTC | |
by shenme (Priest) on Aug 22, 2003 at 06:15 UTC | |
by jonadab (Parson) on Aug 25, 2003 at 17:03 UTC | |
by esh (Pilgrim) on Aug 21, 2003 at 18:50 UTC |