One of the web guys in our office got it working for me.
Has to do with version of php. We are running 4.3.2. He said it looks like one of the commands is not introduced until 4.3.3.
This is what he changed in class.pop3.php
//Set timeout if imap
// if not imap we will set the timeout once we open the stream
// had to do thie because imap_timeout does not exist until php 4.3.3
if (function_exists('imap_timeout')) {
//echo "IMAP timeout is available.\n";
imap_timeout(1,20); //Open timeout.
} else {
//echo "IMAP timeout is not available.\n";
}
}
function connect() {
return $this->open()?true;
}
function open() {
if($this->mbox && imap_ping($this->mbox))
return $this->mbox;
$this->mbox =@imap_open($this->serverstr,$this->username,$this->password);
if (! function_exists('imap_timeout')) {
// setting the timeout like this doesn't work. i'm not sure if it will timeout or just hang
// without some sort of timeout set
//stream_set_timeout($this->mbox, 20);
}