In Reply To:
Hi,
If you edit incoming.pl around line 315 change:
my $count = $POP->connect or die GT::Mail::POP3::error;
to:
my $count = $POP->connect;
if ((!$count) {
GMail->debug ("Unable to connect to POP: $GT::Mail::POP3::error");
return;
}
I finally install this (in somewhat of an emergency to get mail to import), but it doesn't work.....
It says:
syntax error at /home/../incoming.pl line 319, near "return"
Global symbol "$count" requires explicit package name at /home/../incoming.pl line 321.
Global symbol "$account" requires explicit package name at /home/../incoming.pl line 324.
syntax error at /home/../incoming.pl line 338, near "}"
Execution of /home/../incoming.pl aborted due to compilation errors.
Why when we get help like this it never seems to work? Don't you guys even check first, or do you just hammer out the code you think will work and leave the possibility open for fatal errors to occur?
I need to get this incoming.pl to skip a pop that's down, does anyone have the code for it that's been tried and checked???
Jason