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

I m not very sure if IMAP is enabled.Also tried commenting SSL but it didn't work.I think this script would also help me identify if the port is enabled or not( pls correct me if i am wrong). The call to new didn't succeed and didn't return an object that is the reason i m unable to call the method folders with it

Thanks

Replies are listed 'Best First'.
Re^7: Connect to Microsoft Exchange
by libvenus (Sexton) on Nov 26, 2010 at 12:11 UTC

    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. "

      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". ;-)