';

Ilya Martynov's Website

Tue, 03 May 2005

Mail-CheckUser

Overview

This Perl module provides routines for checking validity of email address.

It makes several checks:

  1. It checks syntax of an email address.
  2. It checks if there any MX records or A records for the domain part of the email address.
  3. It tries to connect to an email server directly via SMTP to check if mailbox is valid. Old versions of this module performed this check via the VRFY command. Now the module uses another check; it uses a combina- tion of MAIL and RCPT commands which simulates sending an email. It can detect bad mailboxes in many cases.

This module was designed with CGIs (or any other dynamic Web content programmed with Perl) in mind. Usually it is required to quickly check e-mail addresses in forms. If the check can't be finished in reasonable time, the e-mail address should be treated as valid.

For details see documentation in distribution.

Download

You can download this module here or from your closest CPAN mirror.

Documentation

HTML documentation generated from POD is available from search.cpan.org.

Support

Send questions or bug reports directly on my email ilya@martynov.org.

[/software/checkuser] permanent link