I'm trying to connect to a mailbox using imap_open, with the following simple code:
$con = imap_open(sprintf($host, '/novalidate-cert'), $userName, $password);
If I execute that via php-cli, it asks me for a password... and whatever the password I introduce, it will works. I'm sure username and password are right (tested via telnet), so I have no idea why is asking for it again.
Any idea?