I also just started using Email::Valid. It can do checks to see if the domain really exists and has a MX record.use Regexp::Common qw[Email::Address]; unless ($email_addr =~ m/($RE{Email}{Address})/) { # error }
unless (Email::Valid->address(-address => $email_addr, -mxcheck => 1)) + { # error }
In reply to Re: checking email syntax
by superfrink
in thread checking email syntax
by powerhouse
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |