NAME

Email::Address::Classify - Classify email addresses

SYNOPSIS

use Email::Address::Classify;

$email = Email::Address::Classify->new('a.johnson@example.com');

print "Is valid:  " . $email->is_valid() ? "Y\n" : "N\n";    # Y
print "Is random: " . $email->is_random() ? "Y\n" : "N\n";   # N

DESCRIPTION

This module provides a simple way to classify email addresses. At the moment, it only provides two classifications is_valid() and is_random(). More classifications may be added in the future.

METHODS

TODO

Ideas for future classification methods:

is_freemail()
is_disposable()
is_role_based()
is_bounce()
is_verp()
is_srs()
is_batv()
is_sms_gateway()

AUTHOR

Kent Oyer kent@mxguardian.net

LICENSE AND COPYRIGHT

Copyright (C) 2023 MXGuardian LLC

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the LICENSE file included with this distribution for more information.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.