Quoting Piers <pi...@rowan.id.au>:

Now we're getting somewhere =)
I get a complaint about a self-signed certificate. Ending with
"(errflg=2) in Unknown on line 0"
 

This might be what you are looking for:

http://php.net/manual/en/function.imap-open.php

/novalidate-cert   

do not validate certificates from TLS/SSL server, needed if server uses
self-signed certificates

eg:
// To connect to an SSL IMAP or POP3 server with a self-signed
certificate,
// add /ssl/novalidate-cert after the protocol specification:
$mbox = imap_open ("{localhost:995/pop3/ssl/novalidate-cert}",
"user_id", "password");

Brilliant! Now it works - thanks a bunch =)

/Martin S
_______________________________________________
User mailing list
User@owncloud.org
http://mailman.owncloud.org/mailman/listinfo/user

Reply via email to