Hotmail connectivity issue


Since Saturday I cannot get my emails from hotmail

I get this error: An attempt to connect to has failed. This could be caused by temporary server unavailability or incorrect settings.

Has anyone else had the same issue and hopefully aware of a fix?


Go to Menu > Tools > Accounts and click on the IMAP tab for your Hotmail account. Check that you have the port set to 993, and the security policy set to Use SSL/TLS on special port (legacy).

If that does not help, temporarily disable your anti-virus/firewall application, then try again.

If that still does not help, and this issue began after upgrading eM Client, you can uninstall the application and then download and install 7.2.35595 from the Release History.

Thank you Gary!

It did indeed happen after the latest update, rolling back to the May update you specified has fixed it.

I’ve spent many hours over the past couple of weeks trying to resolve the same ‘not connected’ issue.  This occurs with both the two latest updates.  My email address is

I’ve just come across Gary’s advice to revert to 7.2.35595, but please need assurance that emails stored in Local Folders (and in the normal In and Sent folders) won’t be lost by uninstalling eM Client.

Would the process be to uninstall using Computer-Programs-Uninstall, then go to Release History, click on 7.2.35595 and follow the installation instructions?

I assume I’d have to resubmit Account and Settings data, so I’ve saved these as Snips.

Your help would be very much appreciated by this computer dummy.

Yes, uninstall eM Client the way you would any other application.

During the uninstall you will be asked if you want to delete the database folder.

If you want to keep all your local data and settings, including account details, templates, signatures, Rules etc. answer No.

As you have data in local folders, you should be making regular backups anyway, but to be safe make a manual backup using Menu > File > Backup before you uninstall. 

After the uninstall, download the version I recommend from the release history and install that. When you open eM Client all your data will be there. See if this makes any difference with your connectivity issues.

That worked perfectly.  So easy too!

Very many thanks, Gary!

All is now still working fine…  except that many earlier emails in the Inbox and Sent folders won’t delete.

Most of these still carry the “Not connected to server” message and won’t display the content, but others have no error message and show the full content.

Any ideas how they can be made to delete, please? 

You can try right-click on the Inbox and choose Properties > Repair. Do the same with the Sent folder.

Thanks, Gary.  A good try, but unfortunately ‘Repair’ didn’t cure the problem.

Strangely, the majority of the “not connected” emails in the Inbox date prior to 22nd March, whereas the majority of them in the Sent folder date after 23rd May.  All were fine until the “not connected” problem arose from version updating in September. 

BTW, I should have made it clear that I don’t actually want to delete all “not connected” emails; some need moving to ‘Local Folders’ for retention.

The repair will fix any messages in the cache that are corrupt, so maybe that is not their problem.

If you login to using the web interface, do those messages appear complete?

The messages are fine on the Outlook web interface and iPad app (other than being a pain to use compared with eM Client!).

I’ve had six error messages this afternoon, namely “An error has occurred in the application that prevents it from continuing”.  They found database corruption.  I let eM Client auto-restart after each error message.

I don’t know if the corruption findings, or closing and opening eM Client, had any effect, but the Inbox now seems clear of “not connected” problems and the Sent box has become clear up until 3rd August rather than 23rd May.

Incidentally, running Repair on the Inbox this morning brought an ‘in progress’ symbol, but there was no sign of action when running it on Sent.  I repeated it, but still no obvious sign of action.

I can save essential “not connected” emails to Local Folders by calling them up on the web interface then forwarding to myself as ‘fresh’ emails.

All I need now is a way to be able to delete the unwanted ones from eM Client.  Clicking ‘Delete’ has no effect.

Any suggestions, please?


Remove the account from eM Client, then add it again. That should give you a proper synced cache of what is on the server.

Thanks yet again, Gary!

In preparing to delete the account, the following appeared: “Warning:  Deleting an account will also locally remove all folders and items in this account tree”.

Is there a risk of losing my Local Folders and/or sub-folders?  That would cause a massive problem as they contain essential correspondence and documents, all saved to appropriate sub-folders, on behalf of a charity in which I’m a senior volunteer.


That warning only applies to POP3 accounts. When you remove a POP3 account, you delete the message store. is setup by default as IMAP. You can check which you have by going to Menu > Tools > Accounts where you will see if you have an IMAP or POP3 tab.

If in doubt, but always a good idea before deleting an account, make a backup using Menu > File > Backup.

Yes, only IMAP (and SMTP).

Backup failed with the following report. I wonder if this explains anything, but please don’t spend valuable time on it as you’ve already given more help than I’ve any right to expect.

System.IO.IOException: database disk image is malformed —> System.Data.SQLite.SQLiteException: database disk image is malformed
   at System.Data.SQLite.SQLiteBlob.Read(Byte[] buffer, Int32 count, Int32 offset)
   at MailClient.Storage.Data.BlobStream.Read(Byte[] buffer, Int32 offset, Int32 count)
   — End of inner exception stack trace —
   at MailClient.Storage.Data.BlobStream.Read(Byte[] buffer, Int32 offset, Int32 count)
   at MailClient.Streams.StreamHelper.CopyStream(Stream inputStream, Stream outputStream, Nullable`1 cancellationToken, ProgressReporter reporter)
   at MailClient.Storage.Data.DatabaseCopyTool.CopyContents(Table table, Boolean sortDesc)
   at MailClient.Storage.Data.DatabaseCopyTool.CopyTableData(Table table)
   at MailClient.Storage.Data.DatabaseCopyTool.CopyInternal(String specificTable, Boolean copyIndexesViewsAndTriggers)
   at DbBackup.FormBackup.Backup(CancellationToken cancellationToken)
   at DbBackup.FormBackup.<>c__DisplayClass28_0.<mainform_load>b__0(Object a, DoWorkEventArgs b)
at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
Table: LocalMailContents


Close eM Client and run C:\Program Files (x86)\eM Client\DbRepair.exe. Then try the backup again.

The only DbRepair files I have are:
C:\Program Files (x86)\eM Client\DbRepair (Type: Application 76 kB) and
C:\Program Files (x86)\eM Client\DbRepair.exe.config (1 kB).

Is the latter the one I need to run?  Just by double-clicking on it?

With apologies for my ignorance.

I see from… that the *exe.config file is not the one to run. But it’s the only one with .exe

It is the former. You have filename extensions hidden in Explorer.

The easiest way in Windows 10 is to use Win+R then paste in C:\Program Files (x86)\eM Client\DbRepair.exe