#!/usr/bin/perl use warnings; use strict; use Net::POP3; my $time = scalar localtime; my $pop3 = "pop3.poczta.onet.pl"; my $login = "haptor\@op.pl"; my $pass = "*********"; my $pop = Net::POP3->new($pop3); #my $smtp = Net::SMTP->new($ssmtp); my $res = $pop->login($login, $pass); if ($res eq "undef"){ print "Couldn't connect $!\n"; } else { print "On $time e-mail status inbox: $res post \n"; } $pop->quit();
2005-12-03 Retitled by Arunbear
In reply to Get number of items in email account via POP3 by w3b
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |