in reply to Re^6: Connect to Microsoft Exchange
in thread Connect to Microsoft Exchange

Here is the error that i get:

" Unable to connect to xxx.yyy.com: IO::Socket::INET: connect: Connection refused at ./chk_mail_imapclient_.pl line 9. "

Replies are listed 'Best First'.
Re^8: Connect to Microsoft Exchange
by afoken (Chancellor) on Nov 26, 2010 at 13:54 UTC

    Do yourself a favour and ask your Exchange admin which protocols are available on the Exchange server, and on which ports.

    The error message you posted, combined with your code shown above, means that IMAPS (= IMAP + SSL) is not available. It does not say anything about the availability of unencrypted IMAP.

    Alexander

    --
    Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)