This is the code I'm using:
- Code: Select all
<?php
$user = "user"; //Also tested with "user@localhost"
$pass = "pass";
$server = "{localhost:143/imap/ssl/novalidate-cert}";
if ( $conn = imap_open( $server , $user , $pass ) ) print 'Connected';
?>
It only works without the '/ssl/novalidate-cert' part