Scroll to navigation

Sisimai::RFC2606(3pm) User Contributed Perl Documentation Sisimai::RFC2606(3pm)

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-2016,2018 azumakuniyuki, All rights reserved.

LICENSE

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

2018-08-31 perl v5.26.2