Maybe I'm missing something fundamental--and if so, please point it out to me--but I keep getting this "invalid remote specification" error when I try to connect to an SSL IMAP server using imap_open. I can connect to non-ssl servers just fine. Here is the exact code I am using:
$server="{maxwell.berkeley.edu:993/imap/ssl/novalidate-cert}INBOX";
$stream = imap_open($server, $user, $password)
or die("Can't open IMAP stream: ".imap_last_error());
I have tried variations of the server string and nothing seems to work for me. This is the syntax given in the PHP man page for imap_open(). Has anyone else struggled with this issue?
Thanks for any hints!
Bill