Can't Send Mail - Crashes

Running eM Client 7.0

Since re-loading eM Client from backup after a HDD failure, I can’t send mail through Gmail to anyone.

I had an issue where my contacts disappeared after I restored the backup and I resolved that by doing a replace on the files that store a number of account settings.

I did it this way because I could not find a simple, straightforward way to import my address book (contacts) again.

Now I have ‘half’ an email solution. Grr.

I can receive messages, but not respond to themm.

Here’s the error:

"   eM Client (7.0.27943.0)

Windows: Microsoft Windows NT 10.0.14393.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.Contact.Data.DbContactRepository.Store(IContactRepositoryItem contact)

   at MailClient.Storage.Data.DbRepository1.Add[ST](Object senderContext, IEnumerable1 items)

   at MailClient.Storage.Attachment.Data.ItemWithAttachmentRepositoryAdapter1.Add[ST](Object senderContext, IEnumerable1 items)

   at MailClient.Storage.Application.ItemCollection`2.Add(TItem item, CancellationToken cancellationToken)

   at MailClient.Storage.Application.ItemCollection`2.Add(TItem item)

   at MailClient.UI.Forms.formSendMail.updateRecipientsHistory()

   at MailClient.UI.Forms.formSendMail.<>c__DisplayClass135_0.b__1()

   — 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__DisplayClass135_1.b__0(String
innerHtml)

   at MailClient.Common.UI.Controls.CefWebBrowserEx.CefWebBrowserEx.<>c__DisplayClass157_0.b__0(CefProcessMessage
message)

   at MailClient.Common.UI.Controls.CefWebBrowserEx.CefWebBrowserEx.OnMessageReceived(CefProcessMessage message)

   at MailClient.Common.UI.Controls.CefWebBrowserEx.CefWebClientEx.OnProcessMessageReceived(CefBrowser browser, CefProcessId sourceProcess, CefProcessMessage message)

   at Xilium.CefGlue.CefClient.on_process_message_received(cef_client_t* self, cef_browser_t* browser, CefProcessId source_process, cef_process_message_t* message)

   at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)

   at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)

   at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)

   at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)

   at MailClient.Program.<>c.b__62_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 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, Boolean preserveSyncCtx)

   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

   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.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.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

   at Xilium.CefGlue.Interop.libcef.run_message_loop()

   at MailClient.Program.<>c.b__62_2()

   at MailClient.ExceptionUtils.ExceptionUtils.Filter(BodyDelegate body, FilterDelegate filter, Action`1 handler)  "

Restored from backup dated March 5, 2017 prior to installing the new SSD… for some reason it isn’t clear how you do a restore… there was a YouTube video on restore, which kind of lead me to a Google search to see how to use restore… and then when I finished restoring, it locked me out until I re-installed the activation key… funny that the key wasn’t included in the backup/restore… left me hanging for a bit until I Googled how to get a license… which apparently I already had… would love to meet the team of developers who dreamed up this convoluted way of recovering oneself…  seems to be working on SEND now… will keep an eye on it and report if the error occurs again… Thanks