L
Lev Altshuler
Hi,
I am trying to count email messages in the mailbox and read their headers.
In case that there are some messages on the POP3 server and
they haven't yet got to the Inbox, I get a number of messages.
As soon as they have been in the Inbox, I get '0E0' as a number of messages.
Does anyone know what feature of Net:
OP3 I am not aware of, or
where did I screw up in the code?
use Net:
OP3;
my $server = "pop.bloor.phub.net.cable.rogers.com";
my $pop3 = Net:
OP3->new($server, Timeout => 10, Debug =>1);
die "Couldn't log on to server" unless $pop3;
my $user = "levalt\@rogers.com";
my $password = "password";
my $num_Messages = $pop3->login($user, $password);
print "$num_Messages\n";
I am trying to count email messages in the mailbox and read their headers.
In case that there are some messages on the POP3 server and
they haven't yet got to the Inbox, I get a number of messages.
As soon as they have been in the Inbox, I get '0E0' as a number of messages.
Does anyone know what feature of Net:
where did I screw up in the code?
use Net:
my $server = "pop.bloor.phub.net.cable.rogers.com";
my $pop3 = Net:
die "Couldn't log on to server" unless $pop3;
my $user = "levalt\@rogers.com";
my $password = "password";
my $num_Messages = $pop3->login($user, $password);
print "$num_Messages\n";