DearHeart has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/bin/perl use Mail::POP3Client; $loginname = "user@example.com"; $password = "password"; $POPserver = "pop.example.com"; $pop = new Mail::POP3Client($loginname, $password, $POPserver); $MessageCount = $pop->Count; print "Content-type: text/html\n\n"; if ($pop->Count == -1){ print "Connection Failed"; } else { print "Connected!"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Mail::POP3Client on Unix problem
by rattusillegitimus (Friar) on Jul 18, 2002 at 14:48 UTC | |
by DearHeart (Initiate) on Jul 18, 2002 at 15:02 UTC | |
|
Re: Mail::POP3Client on Unix problem
by vagnerr (Prior) on Jul 18, 2002 at 14:49 UTC | |
|
Re: Mail::POP3Client on Unix problem
by Anonymous Monk on Jul 18, 2002 at 15:01 UTC |