Access Exchange Server 2013 Mailbox

Topics: Issues
Jan 13 at 3:41 PM
Good Day,
I am having a lot of problems connecting to an exchange server mailbox on a windows domain.

I am using a sample as below via Python for ease of testing.

IMAPLogin = "dave@companyltd.com" IMAPPassword = "mypassword"

clr.AddReferenceToFileAndPath(DllPath)
from ImapX import *

imapClient = ImapClient(MailServer, True, False)

ret = imapClient.Connect()

ret = imapClient.Login (IMAPLogin, IMAPPassword)

The above is simply returning False from the Login. It is successfully connecting but failing to login. The password is correct and whether I use the login of "dave@company.com" or just "dave" for the username. Neither method fails. Am I missing something here?