in reply to Adding Email Validity Test to the existing script.

The only way to really check if an email address is valid is to send something to it.

Angel's suggestion (++) will allow you to check if the email address looks like a valid email address, but not if it actually is valid.

Update: Abigail's RFC::RFC822::Address module seems to be an alternative email validation module.


If the information in this post is inaccurate, or just plain wrong, don't just downvote - please post explaining what's wrong.
That way everyone learns.

  • Comment on Re: Adding Email Validity Test to the existing script.