Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^5: Connect to Microsoft Exchange

by afoken (Chancellor)
on Nov 26, 2010 at 11:04 UTC ( [id://873836]=note: print w/replies, xml ) Need Help??


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

Are you sure IMAP is enabled on the Exchange server? With SSL? Have you asked the server admin or did you run a port scan? What output do you see? Why don't you check that new() was successful?

Alexander

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

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

    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

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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://873836]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (2)
As of 2024-04-25 19:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found