The open-stream-error:
Ik took me some hours to figure it out, but this seems to be the solution:
$MAILSERVER="{my.server.com:143/imap/notls}INBOX";
or
$MAILSERVER="{pop.server.com:143/pop3/notls}INBOX";
$mbox = imap_open ($MAILSERVER, "username", "password");
Then, it works!!!
It happens when you use a self-signed certificate. The notls-thing tells it not to check for it.
Hope this will lead to a new version?
|