Application error loop

I am running eM client 7.2.36908 as a possible replacement for Windows Live Mail. I am getting  repeated client application errors with the text “An error has occurred in the application which prevents it from continuing”. When the program restarts it fails again. I saved the error file which is huge (191k) . Upon restart a check for corrupted database and inconsistent data occurs with no errors and then the application fails immediately.

Fortunately I had a recent backup of the eM client database folder and I was able to use it without any errors. The last thing I did before the application failed was to send an email to my iCloud account which is causing problems in Windows Live Mail.

https://answers.microsoft.com/en-us/windowslive/forum/all/problems-with-icloud-email-and-windows-live-mail/8d8c6b26-091b-43f1-b089-6f36316bcafe 

Any help would be appreciated.

Error data from to

http://emclient.com/ns/report/ns/report">

eM Client
7.2.36908.0

false

Microsoft Windows NT 10.0.18363.0
4.0.30319.42000


System.OverflowException
Value was either too large or too small for a UInt32.
mscorlib




mscorlib.dll
100667557
mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.Number
ParseUInt32


mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.String
value


mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.Globalization.NumberStyles
options


mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.Globalization.NumberFormatInfo
numfmt



5e
c01223




MailClient.Protocols.Imap.dll
100663658
MailClient.Protocols.Imap, Version=7.2.36908.0, Culture=neutral, PublicKeyToken=null
MailClient.Protocols.Imap.Synchronizer+AppendCommand
AppendCompleted


MailClient.Imap.Base, Version=7.2.36908.0, Culture=neutral, PublicKeyToken=null
MailClient.Imap.Base.Command
command


MailClient.Imap.Base, Version=7.2.36908.0, Culture=neutral, PublicKeyToken=null
MailClient.Imap.Base.BasicResponse
response


mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.Boolean
usedCatenate


MailClient.Storage.Mail, Version=7.2.36908.0, Culture=neutral, PublicKeyToken=null
MailClient.Storage.Mail.Data.IMailRepositoryItem
item


MailClient.Protocols.Imap, Version=7.2.36908.0, Culture=neutral, PublicKeyToken=null
MailClient.Protocols.Imap.ConnectionContext
context


MailClient.Commands, Version=7.2.36908.0, Culture=neutral, PublicKeyToken=null
MailClient.Commands.WorkerStatus
status



0
24a




MailClient.Protocols.Imap.dll
100663887
MailClient.Protocols.Imap, Version=7.2.36908.0, Culture=neutral, PublicKeyToken=null
MailClient.Protocols.Imap.Synchronizer+AppendCommand+<>c DisplayClass5_0
<DoAppend>b
1


MailClient.Imap.Base, Version=7.2.36908.0, Culture=neutral, PublicKeyToken=null
MailClient.Imap.Base.Command
c


MailClient.Imap.Base, Version=7.2.36908.0, Culture=neutral, PublicKeyToken=null
MailClient.Imap.Base.BasicResponse
r



0
1d




LinqBridge.dll
100663315
LinqBridge, Version=1.3.0.0, Culture=neutral, PublicKeyToken=c2b14eb747628076
System.Action`2
Invoke


LinqBridge, Version=1.3.0.0, Culture=neutral, PublicKeyToken=c2b14eb747628076

arg1


LinqBridge, Version=1.3.0.0, Culture=neutral, PublicKeyToken=c2b14eb747628076

arg2



ffffffff
0




MailClient.Imap.Base.dll
100663392
MailClient.Imap.Base, Version=7.2.36908.0, Culture=neutral, PublicKeyToken=null
MailClient.Imap.Base.Command
Finish


MailClient.Imap.Base, Version=7.2.36908.0, Culture=neutral, PublicKeyToken=null
MailClient.Imap.Base.BasicResponse
response



33
d6




MailClient.Imap.Base.dll
100663427
MailClient.Imap.Base, Version=7.2.36908.0, Culture=neutral, PublicKeyToken=null
MailClient.Imap.Base.Connection
OnCommandCompleted


MailClient.Imap.Base, Version=7.2.36908.0, Culture=neutral, PublicKeyToken=null
MailClient.Imap.Base.Command
command


MailClient.Imap.Base, Version=7.2.36908.0, Culture=neutral, PublicKeyToken=null
MailClient.Imap.Base.BasicResponse
response



0
16




MailClient.Imap.Base.dll
100663433
MailClient.Imap.Base, Version=7.2.36908.0, Culture=neutral, PublicKeyToken=null
MailClient.Imap.Base.Connection
ParseNormal


mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.String
line



8f
147




MailClient.Imap.Base.dll
100663434
MailClient.Imap.Base, Version=7.2.36908.0, Culture=neutral, PublicKeyToken=null
MailClient.Imap.Base.Connection
ParseReply


mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.String
line



f7
240




MailClient.Imap.Base.dll
100663429
MailClient.Imap.Base, Version=7.2.36908.0, Culture=neutral, PublicKeyToken=null
MailClient.Imap.Base.Connection
ReceiveWorker


11
58




mscorlib.dll
100678654
mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.Threading.ThreadHelper
ThreadStart_Context


mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.Object
state



14
a0




mscorlib.dll
100678383
mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.Threading.ExecutionContext
RunInternal


mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.Threading.ExecutionContext
executionContext


mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.Threading.ContextCallback
callback


mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.Object
state


mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.Boolean
preserveSyncCtx



79
c3




mscorlib.dll
100678382
mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.Threading.ExecutionContext
Run


mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.Threading.ExecutionContext
executionContext


mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.Threading.ContextCallback
callback


mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.Object
state


mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.Boolean
preserveSyncCtx



0
16




mscorlib.dll
100678381
mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.Threading.ExecutionContext
Run


mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.Threading.ExecutionContext
executionContext


mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.Threading.ContextCallback
callback


mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.Object
state



2b
43




mscorlib.dll
100678656
mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.Threading.ThreadHelper
ThreadStart


8
46



A2 OK [APPENDUID 1577097884645 1] completed (took 1773 ms)
* OK [CAPABILITY st43p00im-tygg09060701 1913B48 XAPPLEPUSHSERVICE IMAP4 IMAP4rev1 SASL-IR AUTH=ATOKEN AUTH=PLAIN] iSCREAM ready to rumble (1913B48-10000-1913B-0-9cb09718163b:30466) st43p00im-tygg09060701 [10:5176:13:56:38:86]



What @ email (address domain and email settings) are you using in EMClient. eg: @hotmail.com, @live.com, @gmail.com etc. Also are you using Windows 10 and what version.

Windows 10 version 1909. The likely problem account is domain @iCloud.

Server imap.mail.me.com Port 993
Server smtp.mail.me.com Port 587
Use SSL/TLS on special port (legacy)

For SMTP port 587, set the security policy to Force usage of SSL/TLS

For IMAP port 993, set the security policy to Use SSL/TLS on special port (legacy)

And Georg is also having an issue with iCloud. Maybe it is the provider that is the problem?

Yes sending an email from my iCloud account via eM client causes the application to fail. I can use other platforms such as Apple mail via iPhone and iCloud.com web mail via Google Chrome and send iCloud email without problems. 

Yes does sound like the @icloud domain settings have some compatibility issue with emclient. My only suggestion would be to eg: forward the iCloud account to a Gmail acct and pick that up with emclient till that issue is resolved. You can put your iCloud email address as the default reply address in emclient when sending.

I had to do a similar thing with my live.com and hotmail accts as they just would never work correctly with emclient no matter what IMAP settings i tried. Hopefully emclient future updates might fix iCloud issues.

The settings (ports) given above are proposed by emclient and are currently being used.

Sometimes it works, sometimes not. But rather not.

The funny thing is that it worked without problems for months.

Did you update eM Client to a new version since it was working correctly?

If you did not change eM Client, and it now doesn’t work, then I suspect that the problem is with the server and not the application.

I have noticed that my IMAP accounts are getting duplicate emails in the Sent folder for each email sent using the eM Client. So I disabled the “Save copy of sent messages to Sent folder” mail setting. 

After this change I no longer have eM Client application crashes when sending mail from my iCloud account !! No more error loops ! Happy new year.

Good to know that yet again Apple has to be different. :wink:

Thanks for the solution bnc0123.

With normal IMAP servers you keep that enabled so that a sent messages are saved to the Sent folder. Obviously.