4 Einträge, 1 Seite |
1
2
Cannot connect to pop.gmail.com:995
Permission denied at /home/moony/DEV/mails_pop3.pl line 14.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
#!/usr/bin/perl use strict; use warnings; use Net::POP3; my $popHost = $ARGV[0]; my $popPort = $ARGV[1]; my $popTimeout = 10; my $user = $ARGV[2]; my $pass = $ARGV[3]; my $pop = Net::POP3->new($popHost, Timeout => $popTimeout, ResvPort => $popPort) or die ("Cannot connect to $popHost:$popPort\n$!"); $pop->quit();
1
2
Global symbol "$pop" requires explicit package name at /home/moony/DEV/mails_pop3.pl line 17.
Execution of /home/moony/DEV/mails_pop3.pl aborted due to compilation errors.
QuoteResvPort - If given then the socket for the Net::POP3 object will be bound to the local port given using bind when the socket is created
Port => $popPort
4 Einträge, 1 Seite |