I have the following code
$mbox = imap_open("{mail.mydomain.com:143/imap/notls}INBOX", "newsletter@mydomain.com","xxxxxxx");
if ($mbox)
{
echo "connected";
imap_close($mbox);
}
else
{
echo "not connected :<br>" . imap_last_error();
}
It give this output
not connected :
Unable to create selectable TCP socket (1919 >= 1024)
I am able to telnet to the domain, using telnet mail.mydomain.com 443
A LOGIN username password
A OK LOGIN Ok
What is wrong with my PHP code?