Not able to configure office 365 mail

Hi,

I am trying to setup office 365 and its failing.
I tried both manual and automatic as well and it fails.
Kindly help.

Thanks
Muraly R

Attaching logs below:

14:10:36 Online state: changed to online due to NetworkAvailability
14:16:14 [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/
14:18:08 [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/
14:18:39 [email protected] [IMAP]  MailClient.Accounts.ConnectionException: No server response within 30 second timeout. —> System.IO.IOException: No server response within 30 second timeout.
14:18:39    at MailClient.Imap.Base.Connection.Connect(Func1 getStream) 14:18:39    at MailClient.Imap.Base.Connection.Connect(String receiveHost, Int32 receivePort, Boolean explicitSsl) 14:18:39    at MailClient.Protocols.Imap.ConnectionPoolEntry.Reconnect(CancellationToken cancellationToken) 14:18:39    --- End of inner exception stack trace --- 14:18:39    at MailClient.Protocols.Imap.ConnectionPoolEntry.Reconnect(CancellationToken cancellationToken) 14:18:39    at MailClient.Protocols.Imap.ConnectionPoolEntry.Connect(CancellationToken cancellationToken) 14:18:39    at MailClient.Protocols.Imap.ConnectionPool.AcquireConnection(Folder mailFolder, Boolean idle, Boolean forStore) 14:18:39    at MailClient.Protocols.Imap.ConnectionContext..ctor(ImapAccount account) 14:18:39    at MailClient.Protocols.Imap.Synchronizer.SynchronizeFoldersCommand.ExecuteInternal(WorkerStatus status) 14:18:39    at MailClient.Protocols.Imap.Synchronizer.ImapCommand.Execute(WorkerStatus status) 14:18:39    at MailClient.Commands.Command.Process(WorkerStatus status) 14:20:22 [[email protected]](mailto:[email protected]) [IMAP]  Synchronizing subfolders: For folder [[email protected]](mailto:[email protected])/ 14:20:52 [[email protected]](mailto:[email protected]) [IMAP]  MailClient.Accounts.ConnectionException: No server response within 30 second timeout. ---\> System.IO.IOException: No server response within 30 second timeout. 14:20:52    at MailClient.Imap.Base.Connection.Connect(Func1 getStream)
14:20:52    at MailClient.Imap.Base.Connection.Connect(String receiveHost, Int32 receivePort, Boolean explicitSsl)
14:20:52    at MailClient.Protocols.Imap.ConnectionPoolEntry.Reconnect(CancellationToken cancellationToken)
14:20:52    — End of inner exception stack trace —
14:20:52    at MailClient.Protocols.Imap.ConnectionPoolEntry.Reconnect(CancellationToken cancellationToken)
14:20:52    at MailClient.Protocols.Imap.ConnectionPoolEntry.Connect(CancellationToken cancellationToken)
14:20:52    at MailClient.Protocols.Imap.ConnectionPool.AcquireConnection(Folder mailFolder, Boolean idle, Boolean forStore)
14:20:52    at MailClient.Protocols.Imap.ConnectionContext…ctor(ImapAccount account)
14:20:52    at MailClient.Protocols.Imap.Synchronizer.SynchronizeFoldersCommand.ExecuteInternal(WorkerStatus status)
14:20:52    at MailClient.Protocols.Imap.Synchronizer.ImapCommand.Execute(WorkerStatus status)
14:20:52    at MailClient.Commands.Command.Process(WorkerStatus status)

It looks as though you have set up the office365 connection as IMAP. This is not correct with the MS service as it is built on the Exchange platform. When you set the account up you should use this option for best results:

Thanks for the super quick response, but still its failing:

Logs:

15:59:05 Online state: changed to online due to NetworkAvailability
15:59:05 [email protected] [IMAP]  Synchronizing subfolders: For folder [email protected]/
16:02:01 [email protected] [Exchange Web Services]  MailClient.Accounts.ConnectionException: Couldn’t get server version.
16:02:01    at MailClient.Protocols.Exchange.ExchangeFolderSynchronizer.GetExchangeVersion(WorkerStatus s, CancellationToken c)
16:02:01    at MailClient.Protocols.Exchange.ExchangeGenericCommand.Execute(WorkerStatus status)
16:02:01    at MailClient.Commands.Command.Process(WorkerStatus status)
16:03:09 [email protected] [Exchange Web Services]  MailClient.Accounts.ConnectionException: Couldn’t get server version.
16:03:09    at MailClient.Protocols.Exchange.ExchangeFolderSynchronizer.GetExchangeVersion(WorkerStatus s, CancellationToken c)
16:03:09    at MailClient.Protocols.Exchange.ExchangeGenericCommand.Execute(WorkerStatus status)
16:03:09    at MailClient.Commands.Command.Process(WorkerStatus status)
16:03:57 [email protected] [Exchange Web Services]  MailClient.Accounts.ConnectionException: Couldn’t get server version.
16:03:57    at MailClient.Protocols.Exchange.ExchangeFolderSynchronizer.GetExchangeVersion(WorkerStatus s, CancellationToken c)
16:03:57    at MailClient.Protocols.Exchange.ExchangeGenericCommand.Execute(WorkerStatus status)
16:03:57    at MailClient.Commands.Command.Process(WorkerStatus status)
16:04:03 [email protected] [Exchange Web Services]  MailClient.Accounts.ConnectionException: Couldn’t get server version.
16:04:03    at MailClient.Protocols.Exchange.ExchangeFolderSynchronizer.GetExchangeVersion(WorkerStatus s, CancellationToken c)
16:04:03    at MailClient.Protocols.Exchange.ExchangeGenericCommand.Execute(WorkerStatus status)
16:04:03    at MailClient.Commands.Command.Process(WorkerStatus status)
16:04:09 [email protected] [Exchange Web Services]  MailClient.Accounts.ConnectionException: Couldn’t get server version.
16:04:09    at MailClient.Protocols.Exchange.ExchangeFolderSynchronizer.GetExchangeVersion(WorkerStatus s, CancellationToken c)
16:04:09    at MailClient.Protocols.Exchange.ExchangeGenericCommand.Execute(WorkerStatus status)
16:04:09    at MailClient.Commands.Command.Process(WorkerStatus status)

Are you able to take a snip of your Account settings in EM Client and post them on here? I need to see the General and Exchange Web Services tabs, so 2 pictures. Make sure when you take a snip you remove personal details like your email address but you have already posted it many times above! 

Thanks Captain.
I was in a hurry to solve this hence did not go through the logs, hence missed to check that e-mail ids were present in plain text.
Thanks for pointing out.
Pls find attached the images.


Where did you get the server name from? I can only read part of it but it looks odd. You may want to try using this as your server name as it is what I use:

https://outlook.office365.com/EWS/Exchange.asmx

For the Exchange Web Services tab you can also set Authentication to “Use identity credentials” as long as they are set correctly in the General tab as then they are only set in one place reducing errors.

Thanks Captain for the help. Got held up in other work, hence the delay in response. Now what happens is it keep asking for password repeatedly. I tried resetting my password to a new one, but it didn’t too help…