| 1 |
SHORT DESCRIPTION |
| 2 |
|
| 3 |
This Perl module provides routines for checking validity of email |
| 4 |
address. |
| 5 |
|
| 6 |
It makes several checks: |
| 7 |
|
| 8 |
1) it checks the syntax of an email address; |
| 9 |
|
| 10 |
2) it checks if there any MX records or A records for the |
| 11 |
domain part of the email address; |
| 12 |
|
| 13 |
3) it tries to connect to an email server directly via SMTP to check |
| 14 |
if mailbox is valid. Old versions of this module performed this |
| 15 |
check via the VRFY command. Now the module uses another check; it |
| 16 |
uses a combination of MAIL and RCPT commands which simulates |
| 17 |
sending an email. It can detect bad mailboxes in many cases. |
| 18 |
|
| 19 |
This module was designed with CGIs (or any other dynamic Web content |
| 20 |
programmed with Perl) in mind. Usually it is required to quickly check |
| 21 |
e-mail addresses in forms. If the check can't be finished in |
| 22 |
reasonable time, the e-mail address should be treated as valid. |
| 23 |
|
| 24 |
For details see pod documentation in Mail::CheckUser |
| 25 |
|
| 26 |
REQUIREMENTS |
| 27 |
|
| 28 |
This module requires next Perl modules: |
| 29 |
|
| 30 |
1) Net::SMTP (libnet package) |
| 31 |
2) Net::DNS (Net-DNS package) |
| 32 |
3) IO::Handle (IO package) |
| 33 |
4) Net::Ping (Net-Ping package) |
| 34 |
|
| 35 |
Perl distributions before 5.6 contain version of IO::Handle which has |
| 36 |
bugs in timeouts handling. Download latest version from CPAN if you |
| 37 |
haven't done it before. |
| 38 |
|
| 39 |
INSTALLATION |
| 40 |
|
| 41 |
perl Makefile.PL |
| 42 |
make |
| 43 |
make test |
| 44 |
make install |
| 45 |
|
| 46 |
Tests may run very slow especially if networking is down. |
| 47 |
|
| 48 |
LICENSE |
| 49 |
|
| 50 |
Mail::CheckUser is provided "as is" and without any express or implied |
| 51 |
warranties, including, without limitation, the implied warranties of |
| 52 |
merchantibility and fitness for a particular purpose. Mail::CheckUser |
| 53 |
is released under the same terms as Perl itself. For more information |
| 54 |
see the "README" or "Artistic" files provided with the Perl |
| 55 |
distribution. |
| 56 |
|
| 57 |
BUGS |
| 58 |
|
| 59 |
If you have encountered any problems with this module fill free to |
| 60 |
contact author (Ilya Martynov <[email protected]>). |