Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Email Validation

by McD (Chaplain)
on Nov 14, 2001 at 22:15 UTC ( #125379=note: print w/replies, xml ) Need Help??


in reply to Email Validation

Email::Valid is probably your best bet - any of the less rigourous methods proposed are simply biding time until they fail to validate an otherwise perfectly functional address.

Email addresses are suprisingly complicated beasties - Mastering Regular Expressions has a regex to match valid addresses which will curl your hair - you can find it here.

But in any case, you need to deal with failure notices - any mail, even mail to valid addresses, can fail to deliver for a variety of reasons.

Peace,
-McD

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://125379]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (10)
As of 2018-06-25 14:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (126 votes). Check out past polls.

    Notices?