Normal shutdown when turning off or restarting the computer

Now, when rebooting without exiting the program, the client takes a long time to check the databases.
It’s unclear why and takes a lot of time. It is advisable to eliminate this process

2 Likes

Definitely not advisable.

Because the application wasn’t closed correctly, the database was left in a condition where data has not yet been written back to the files, and may have errors as well. On start we need to recombine the files, and check for errors. If we don’t, you won’t be able to load the database at all. Instead you will need to delete it, and start with a blank database, adding your accounts and reconfiguring your preferences.

2 Likes

viernes 23 febrero 2024 :: 1037hrs (UTC +0100)

What you say is not completely clear to me; anyway if you do not shut down / exit eMC separately before system reboot or shutdown eMC will, as a precaution run a database check and attempt, usually with success, to identify & repair any corruption on restart.
In any event it is not a good idea to rely upon the OS to correctly close any running Apps during the reboot & shutdown process.

skybat

¡Buena suerte!

¡Los mejores desde Valencia y mantente a salvo!

[email protected]

Hablo español, luego portugués, inglés, francés y alemán
con conocimiento de varios otros idiomas.

2 Likes

That’s right. But I forget to log out before rebooting. I think I’m not alone.
It is not clear to me why the client cannot exit correctly if the system tells it to reboot. All programs understand, but the client does not?

5 Likes

I too, would really like eM Client to respond properly to WM_QUERYENDSESSION and WM_ENDSESSION messages as issued by Windows at shutdown. There is a protocol on how to respond to these two messages and would prevent this problem in most situations.

4 Likes

So I’m not alone in my delusions :slight_smile:
ALL programs respond. We need to improve

2 Likes

Hello,

In october 2025, this issue remains. When windows update “decides” to reboot to apply updates, emClient doesn’t shutdown properly, and therefore a 15 minutes db scan/repair is done at next startup.
Can’t emClient properly shutdown (shutdown like it does when you exit it properly) when receiving the signal. I mean other apps seems to be able to do this, why not emClient ? :slight_smile:
It’s really a pain, especially when you’re running insider versions of Windows which requires almost weekly reboots.

Other than that, I love this mail client :slight_smile:
Kind regards.

1 Like

I just ran across this issue as well. Of course, I can try to remember to shut down EM Client manually but it seems like a glaring development oversight to not fix this. I’m frankly surprised that it behaves this way as user friendly as the rest of the application is. Shouldn’t have to depend on the user doing anything the proper way!

1 Like

Hello Gary.

Checking the DB is a good thing, of course.
What is odd in here is Em Client not figuring out that Windows is rebooting or restarting like any other program or, at least, pop-up a reminder asking if we want to close it, like a browser, Word or Excel if something needs to be saved.

October 2026 and the problem is still there. Is it going to be ever fixed or should we start looking for alternatives? It is kinda annoying.

domingo 16 agosto 2026 :: 0936hrs (UTC +0100)

Hey @DimaP123

I am intrigued, how do you know?

skybat

¡Buena suerte!

¡Saludos desde Valencia la soleada en España!
¡Mis mejores deseos y mantente a salvo!

[email protected]

Hablo español, luego portugués, inglés, francés, italiano y alemán
con conocimientos de varios otros idiomas incluidos griego y ruso

Hello
More than 2 years later this bug is still there, and really painfull as I have to shut down my Surface Pro aound 2 times a day
Why would Windows ignore ShutdownBlockReason for emClient and not for other softwares ?

Hello.

It seems to be fixed on 11 beta.