Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Programming > Perl Modules

    Mail::CheckUser 1.21

    Download button

    No screenshots available
    Downloads: 384  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Ilya Martynov | More programs
    Perl Artistic License / FREE
    April 14th, 2009, 18:42 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Mail::CheckUser description

    Check email addresses for validity

    Mail::CheckUser is a Perl module to check email addresses for validity.

    SYNOPSIS

     use Mail::CheckUser qw(check_email);
     my $ok = check_email($email_addr);

     use Mail::CheckUser qw(:constants check_email last_check)
     my $ok = check_email($email_addr);
     print "DNS timeout
    "
     if last_check()->{code} == CU_DNS_TIMEOUT;

     use Mail::CheckUser;
     my $res = Mail::CheckUser::check_email($email_addr);


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

    It makes several checks:

    1. It checks the 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 combination of MAIL and RCPT commands which simulates sending an email. It can detect bad mailboxes in many cases.

    If is possible to turn off some or all networking checks (items 2 and 3). See "GLOBAL VARIABLES".

    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. This is the default policy. By default if a timeout happens the result of the check is treated as positive. This behavior can be overridden - see "GLOBAL VARIABLES".


    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    validate email | mail checker | Perl module | Perl | mail | checker

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM