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
In reply to Re^8: Connect to Microsoft Exchange
by afoken
in thread Connect to Microsoft Exchange
by libvenus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |