I'm having some trouble using the imap_open function in a webmail app I'm writing in OS X.
I've set up the mail server according to these directions at Macdevcenter, and I'm pretty positive that the mail server is set up right as I have no trouble sending and retrieving mail with "mail.app" or at the command line.
However, my PHP function isn't able to connect to the mail server. Here is the line in question:
$link=imap_open("{127.0.0.1:993/imap}INBOX",$username,$password);
Querying the page with this code sends the system into a never-ending seek.
I can replace the parameters with information regarding my ISP's mail server and it will work fine. I've also tried appending /imap with /ssl/novalidate-cert , but that just errors out completely.
any ideas?