NAME

Sisimai::RFC2606 - Check the email address is reserved or not

SYNOPSIS

use Sisimai::RFC2606;
print Sisimai::RFC2606->is_reserved('example.com');    # 1

DESCRIPTION

Sisimai::RFC2606 checks that the domain part of the email address in the argument is reserved or not.

CLASS METHODS

is_reserved( Domain Part )

is_reserved() returns 1 if the domain part is reserved domain, returns 0 if the domain part is NOT reserved domain.

print Sisimai::RFC2606->is_reserved('example.org');    # 1
print Sisimai::RFC2606->is_reserved('bouncehammer.jp');# 0

AUTHOR

azumakuniyuki

COPYRIGHT

Copyright (C) 2014 azumakuniyuki <perl.org@azumakuniyuki.org>, All Rights Reserved.

LICENSE

This software is distributed under The BSD 2-Clause License.