Email::IsFree - Detect whether e-mail is from free provider
use Email::IsFree; # returns 1 print Email::IsFree::by_domain("hotmail.com"); print Email::IsFree::by_email("foo@hotmail.com"); # returns 0 print Email::IsFree::by_domain("aol.com"); print Email::IsFree::by_email("bar@aol.com");
This module detects whether an e-mail address belongs to a free e-mail provider such as hotmail.com or yahoo.com. It currently contains over 6000 domains. Additions and corrections are welcome.
This module can be used to screen credit card orders based on e-mail. Many credit card scamsters use free, anonymous email accounts with another person's name to place fraudulent orders.
TJ Mather, <tjmather@maxmind.com>
The following people have contributed free e-mail domains:
Robert Young David J
Thanks!
Copyright 2003 by MaxMind LLC
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Email::IsFree, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Email::IsFree
CPAN shell
perl -MCPAN -e shell install Email::IsFree
For more information on module installation, please visit the detailed CPAN module installation guide.