
Bakuras
Deleted
Sep 30, 2000, 7:16 PM
Post #1 of 10
(671 views)
|
|
Reading a POP3 server with Net::POP3
|
Can't Post
|
|
I've tried everything. I've read every single documentation on the module that I could find and still none of my cgi's are working. I've come to suspect that although my web host has the Net::POP3 module, something else might be wrong. Here's my code which tries to read the pop3 server, no more and no less: <BLOCKQUOTE><font size="1" face="Arial,Helvetica,sans serif">code:</font><HR> #!/usr/bin/perl use Net::POP3; $server = "theserver.com"; $user = "theuser"; $pass = "thepassword"; print "Content-type: text/html\n\n"; $pop = Net::POP3->new($server); $count = $pop->login($user,$pass); $pop->quit(); print "$count"; exit; </pre><HR></BLOCKQUOTE> I'm expecting it to be something incredibly simple that I missed, but then again it could aslo be incredibly complicated o_O;; I've never worked with these types of programs before so I suppose it could be anything ^_^;; Thanks for all your help!
|