Error when sending email

Hi,

Can received emails but cannot send anymore, no change in my accounts settings, installed latest version of Em Client 7 and same issue… Thank you for your advice!
Here is the error message:

eM Client (7.0.25432.0)
Windows: Microsoft Windows NT 6.2.9200.0, Framework: 4.0.30319.42000
The following error has occurred:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. —> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. —> System.Data.SQLite.SQLiteException: constraint failed
constraint failed
   at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt)
   at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)
   at System.Data.SQLite.SQLiteDataReader.NextResult()
   at System.Data.SQLite.SQLiteDataReader…ctor(SQLiteCommand cmd, CommandBehavior behave)
   at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
   at System.Data.SQLite.SQLiteCommand.ExecuteScalar()
   at MailClient.Storage.Mail.Data.DbMailRepository.Store(IMailRepositoryItem mail)
   at MailClient.Storage.Data.DbRepository1.Add[ST](Object senderContext, IEnumerable1 items)
   at MailClient.Storage.Application.ItemCollection2.Add(TItem item, CancellationToken cancellationToken) &nbsp;&nbsp; at MailClient.UI.Forms.formSendMail.\<\>c\_\_DisplayClass133\_3.<send>b__4(CancellationToken cancellationToken)<br> at MailClient.UI.Forms.FormLongOperation.&lt;&gt;c__DisplayClass4_0.<initoperation>b__0(Object )<br> --- End of inner exception stack trace ---<br> at MailClient.UI.Forms.FormLongOperation.InitOperation(String name, Action1 operation, Boolean cancellable)
at MailClient.UI.Forms.formSendMail.<>c__DisplayClass133_2.b__3()
— End of inner exception stack trace —
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Delegate.DynamicInvokeImpl(Object[] args)
at MailClient.Common.UI.Marshalling.SafeBeginInvoke(Control control, Delegate method, Object[] parameters)
at MailClient.UI.Forms.formSendMail.<>c__DisplayClass133_4.b__2(List1 mailData)<br> at MailClient.UI.Forms.formSendMail.&lt;&gt;c__DisplayClass117_8.<createmailphase1gui>b__8(String innerHtml2)<br> at MailClient.Common.UI.Controls.CefWebBrowserEx.CefWebBrowserEx.&lt;&gt;c__DisplayClass150_0.<getcleaneddocumenthtml>b__0(CefProcessMessage message)<br> at MailClient.Common.UI.Controls.CefWebBrowserEx.CefWebBrowserEx.OnMessageReceived(CefProcessMessage message)<br> at MailClient.Common.UI.Controls.CefWebBrowserEx.CefWebClientEx.OnProcessMessageReceived(CefBrowser browser, CefProcessId sourceProcess, CefProcessMessage message)<br> at Xilium.CefGlue.CefClient.on_process_message_received(cef_client_t* self, cef_browser_t* browser, CefProcessId source_process, cef_process_message_t* message)<br> at Xilium.CefGlue.Interop.libcef.do_message_loop_work()<br> at MailClient.Program.Application_Idle(Object sender, EventArgs e)<br> at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)<br> at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)<br> at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)<br> at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)<br> at MailClient.Program.&lt;&gt;c.<main>b__50_1()<br> at MailClient.ExceptionUtils.ExceptionUtils.Filter(BodyDelegate body, FilterDelegate filter, Action1 handler)

Hello Fabien,

Can you please tell me what mail account type and mail service provider are you using? Does eM Client crash and shutdown everytime you try to send a message?

Regards,
Dave

Hello Dave,

I have a gmail account set up and a second imap account.
Both were working fine, and now eM Client is crashing and restart everytime I try to send a message on both account.
But receiving email is all fine.

Thanks,
Fabien

Just to let you know, I uninstalled Em Client 7 and installed Em Client 6 and all works fine using same email accounts settings. I did try to reinstall Em Client 7 thereafter and then same error occurred… So I am back to Em Client 6 for now… Worth to mention Em Client 7 was working fine since it was installed on my computer (Windows 10) in last march.

Thanks,
Fabien

Hello Fabien,
the error could be in your database.
I suggest deleting the database folder - C:\Users%Current User%\AppData\Roaming\eM Client Preview and then trying v7 again with a new import from v6.

Regards,
Olivia

I am having issues sending also. Getting pretty frustrated. Would download v6 if I could figure out how. Not happy with v7. Too many errors. Don’t really care for the stacked emails either.