Moving Deleted Email Halts Mail

Because the trash folder on eM Client was not syncing with the Trash folder on the mail server, I attempted to move a file in em Client back to the Inbox. That stopped everything. After about 24 hours, the subject line appeared in the inbox, but no message. Trying to trash that, also stops everything (that is, for that mailbox, no more email downloads). The Operations tab shows "Moving item(s) from folder ‘/Inbox’ to folder ‘/Trash’ but that eventually disappears. The next time the attempt is made to download email, that Operation pops back up again, and the program never gets back to downloading the inbox.

The log shows:

4:54:59 PM @usa.net [IMAP] MailClient.Accounts.ConnectionException: Moving item(s) from folder '@usa.net/Inbox’ to folder '*********@usa.net/Trash’ failed due to the following error: Server did not respond in 00:02:00
—> System.TimeoutException: Server did not respond in 00:02:00
at MailClient.Imap.Base.Extensions.CopyToAsyncWithTimer(Stream source, PipeWriter writer, TimeoutTimer timer, ITaskSource readDemandSource, Action1 loggingCallback, CancellationToken cancellationToken) at MailClient.Imap.Base.TransportPipe.StartReading(Stream stream, CancellationToken token) at System.IO.Pipelines.Pipe.GetReadResult(ReadResult& result) at System.IO.Pipelines.Pipe.GetReadAsyncResult() at System.IO.Pipelines.Pipe.DefaultPipeReader.GetResult(Int16 token) at MailClient.Imap.Base.Extensions.<>c__DisplayClass30_0.<<ReadLineAsync>g__SlowAsyncPath|1>d.MoveNext() --- End of stack trace from previous location --- at MailClient.Imap.Base.Connection.ReceiveAsync() --- End of inner exception stack trace --- at MailClient.Protocols.Imap.ImapActionCommand.ExecuteInternalSync(WorkerStatus status) at MailClient.Protocols.Imap.ImapActionCommand.Execute(WorkerStatus status) at MailClient.Commands.Command.Process(WorkerStatus status) IMAP_SERVER_TYPE = Other EnqueuedStackTrace = at MailClient.Protocols.Common.ItemSynchronizer2.EnqueueMove(Folder folder, IEnumerable1 items, Folder targetFolder, Boolean prioritize) at MailClient.Protocols.Common.ItemSynchronizer2.GoOnline()
at MailClient.Protocols.Imap.ImapMailSynchronizer.GoOnline()
at MailClient.Protocols.Imap.ImapAccount.GoOnlineInt()
at MailClient.Protocols.Common.AccountBase.ChangeOnlineState(Boolean online, OfflineReason offlineReason)
at MailClient.Protocols.Common.AccountBase.GoOnline()
at MailClient.Protocols.Common.AccountBase.RunIfOnline[T](Func1 actionIfOnline, Func1 actionIfOffline)
at MailClient.Protocols.Common.SynchronizableMailAccount.Synchronize(SynchronizationPriority priority)
at MailClient.Accounts.BindingAccountBase.Receive()
at MailClient.Accounts.AccountManager.ReceiveAllInternal()
at MailClient.Accounts.AccountManager.SendAndReceiveAll()
at MailClient.UI.Forms.formMain.sendReceiveAll()
at MailClient.UI.Forms.formMain.stripButton_Refresh_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at MailClient.Common.UI.Controls.ControlToolStrip.ControlToolStripButton.PerformClick()
at MailClient.Common.UI.Controls.ControlToolStrip.ControlToolStripButton.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.UserControl.WndProc(Message& m)
at MailClient.Common.UI.Controls.AutomationViewUserControl.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, WM msg, IntPtr wparam, IntPtr lparam)
at Interop.User32.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.Interop.Mso.IMsoComponentManager.FPushMessageLoop(UIntPtr dwComponentID, msoloop uReason, Void
pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(msoloop reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(msoloop reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(ApplicationContext context)
at MailClient.Program.<>c.b__171_2()
at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at MailClient.Common.UI.Forms.BaseForm.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, WM msg, IntPtr wparam, IntPtr lparam)
at Xilium.CefGlue.Interop.libcef.run_message_loop()
at MailClient.Program.Main(String[] args)
GUIStatus_Exception_Reported = True
4:54:59 PM **********@usa.net [IMAP] System.Threading.Tasks.TaskCanceledException: A task was canceled.
at MailClient.Protocols.Imap.ImapAccount.SynchronizeIntAsync(Boolean forced)
at MailClient.Protocols.Common.SynchronizableMailAccount.<>c__DisplayClass7_0.<b__0>d.MoveNext()
GUIStatus_Exception_Reported = True

Suggest in future (if you haven’t already) to at least create a manual daily backup in eM Client via “Menu / Backup” so you can restore if any issues arise. You can also create daily automatic [periodic backups] (https://www.emclient.com/blog/how-to-work-with-automatic-backups-in-em-client-341

So if you have created a manual or periodic backup in eM Client, click “Menu / File / Restore” and choose the latest dated IMAP backup and everything should then be fine.

However suggest first though (if you haven’t already) to go online to your IMAP USA account via webmail in a browser and make sure everything looks ok. If all looks good online in webmail, just then remove and re-add your IMAP account again and eM Client will then mirror what’s online and should then be fine.

However if it doesn’t look good online in your webmail, then i would suggest to contact your IMAP mailbox technical support online to help you get their end back to normal. Then when fixed up online, then remove and re-add your IMAP accounts in eM Client which will then mirror the same as online.

1 Like

Thanks, cyberzork, I managed to get it fixed. It was not on the server.

But have to say the concept that I should daily backup my email because this program has so many issues which may just happen is concerning. It would be nice to know the program has a way to gracefully deal with errors, instead of it just hanging and stopping.

There are many features that I like and appreciate about the program, but the bottom line is that it needs to work or else provide some sort of error message to the user about the problem. Even the option in the Operations Tab which after displaying the error, offers the option to SKIP that operation and continue would be better.

1 Like

The backup is just an easy way to fix things for mainly “new peeps” in case they run into any problems initially.

There is nothing wrong or bugged with the latest version V9 of the program on Windows or Mac.

Obviously with IMAP accounts you don’t really need to backup as all your email comes once you re-add your IMAP account, but backing up also automatically remembers account settings, tags, labels, etc.

However POP mail accounts really needs to be backed up regularly, as by default pop mail removes the mail off the server automatically after downloading unless you change it in pop account settings.

So daily POP mail is recommended for any POP account users.