Hello everybody,
I use mail.dll to verify mail when getting the machine out of sleep.
I does pretty good job, when I open it at each start.
I tried to optimize it, by letting imap opened when sending the machine to sleep. That runs sometimes, but if the sleep happens when some exchange is attempted with the server, of course the connection is lost, and reopening it does not seem that simple.
I came back to opening the imap connection each time the machine comes alive, was that a good idea ?