Error - [IMAP] Lost connection with server

After I send the e-mail, I get an error - [IMAP] Lost connection with server.

What is the problem and what can I do about it?

Thanks in advace.