$server = "mail.somedomain.com";
$port = 110;
$mbox = imap_open("{".$server.":".$port."/pop3}INBOX", "username", "password");
imap_close($mbox);
Now this is ALL im trying to do, I get NO error when i try to connect to a server. Even if the username/pass is wrong no error, nothing.
I know the imap functions are working because I can connect to other mail servers.
Also i just found something really wierd, I used the same code on another machine and it worked fine on the server that I cannot connect to. This is very odd.
Here is a breakdown.
1.) I cannot connect to a paticular mail server.
2.) I can connect to other mail server.
3.) Another Box can connect to the mail server I cannot connect to.
4.) I get NO errors, NONE when I cannot connect to that paticular mail server.
Beyond strange. Should I try recompiling PHP with IMAP?
Derek