Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    my $rtn = $tel->getline() 
         or die "No Reponse\n";
    print $rtn =~ /^2\d\d .*SMTP/ ? 'OK' : 'Fail';