http://www.perlmonks.org?node_id=125379


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