Well, I am not sure what is going on. My web just got an SSL upgrade so that might be the reason; however, I have no trouble connecting to Outlook.com or Gmail on the SSL IMAP port, just Yahoo.
My code has a preference for IPV4. The following code snippet specifies an IPV4 connection: 'Domain => AF_INET'.
$$conn = IO::Socket::SSL->new(
Proto => "tcp",
SSL_verify_mode => 0x00,
PeerAddr => $host,
PeerPort => $port,
Domain => AF_INET,
);
The odd thing is that unlike my web site my test server is not having trouble making an SSL connection to Yahoo. So I am not certain what is going on.
-Rick