NAME
Gmail::Mailbox::Validate - Find if the username has a valid mailbox in gmail
VERSION
Version 0.02
SYNOPSIS
It's quite simple to use:
use Gmail::Mailbox::Validate;
my $v = Gmail::Mailbox::Validate->new();
print "mailbox exists" if $v->validate($username);
Or run via one-liner perl:
$ perl -MGmail::Mailbox::Validate -le 'print "mailbox exists" if Gmail::Mailbox::Validate->new()->validate("mytest")'
Or run with docker:
$ docker run geekml/gmbox mytest
Plese note,
1. Your host running this program should have access to port 25 of gmail servers. Many providers disable users to access external SMTP port.
2. If the program shows mailbox not exists, it doesn't mean you can register that username. Because the username can be reserved by google, or just has been deleted.
SUBROUTINES/METHODS
new
Initialize the object.
validate
Validate if the given username has mailbox in gmail.
AUTHOR
Yonghua Peng, <pyh at cpan.org>
BUGS
Please report any bugs or feature requests to bug-gmail-mailbox-validate at rt.cpan.org
, or through the web interface at https://rt.cpan.org/NoAuth/ReportBug.html?Queue=Gmail-Mailbox-Validate. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc Gmail::Mailbox::Validate
You can also look for information at:
RT: CPAN's request tracker (report bugs here)
https://rt.cpan.org/NoAuth/Bugs.html?Dist=Gmail-Mailbox-Validate
AnnoCPAN: Annotated CPAN documentation
CPAN Ratings
Search CPAN
ACKNOWLEDGEMENTS
LICENSE AND COPYRIGHT
This software is Copyright (c) 2019 by Yonghua Peng.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)