Can't connect to mail thru CGI

software development


I was wondering if anyone else was having problems connecting to their mail server through CGI. I made a simple perl script to make sure there wasn’t something else interfering and it doesn’t work…

[code]use Net::IMAP::Simple;
$server = new Net::IMAP::Simple(‘’);
if (!defined $server) {print “no imap!\n”;}

use Net::POP3;
$pop = Net::POP3->new(‘’);
if (!defined $pop) {print “no pop!\n”;}
prints “no imap!
no pop!”

The script was working a few days ago … but now it stopped working all of a sudden. I can connect to this mail server through thunderbird, so it is up and working. Any ideas?


DH is having internal DNS issues. See the threads in “General Troubleshooting.”


Okay, making sure it wasn’t just me. Thanks a bunch!