All 4 of my GMail accounts will sit in the Outbox for a long time and will result in an error in the log. It appears that the email eventually is sent.
ERROR: gmail address: Connecting to gmail address failed. [SMTP] An attempt to connect to gmail address failed. This could be caused by temporary server unavailability or incorrect settings. Do you want to check the setting?
This happens to all gmail accounts. The settings are smtp.gmail.com port 587 Force usage of SSL/TLS. It happens every time and started after I updated to version 10.x.
The following line is in the log:
2:36:12 PM gmail address [SMTP] MailClient.Accounts.ConnectionException:
Connection failed due to the following reason:
“{“status”:“invalid_request”,“scope”:“mail google com link”}”
—> MailClient.Authentication.SaslException: {“status”:“invalid_request”,“scope”:“mail google com link”}
at MailClient.Authentication.Mechanisms.OAuthBearerMechanism.Client.EvaluateChallenge(Byte challenge)
at MailClient.Protocols.Smtp.SmtpSendCommand.Authenticate(WorkerStatus status)
at MailClient.Protocols.Smtp.SmtpSendCommand.Connect(WorkerStatus status)
— End of inner exception stack trace —
at MailClient.Protocols.Smtp.SmtpSendCommand.Connect(WorkerStatus status)
at MailClient.Protocols.Smtp.SmtpSendCommand.Execute(WorkerStatus status)
at MailClient.Commands.Command.Process(WorkerStatus status)
AccountId = e058ec9e-91d9-43e0-bb18-5d036438bd3d
AccountName = gmail address
RunInPlace = False
EnqueuedStackTrace =
at MailClient.Protocols.Smtp.SmtpAccount.<>c__DisplayClass5_0.b__0()
at MailClient.Protocols.Common.AccountBase.RunIfOnline(Action actionIfOnline, Action actionIfOffline)
at MailClient.Protocols.Smtp.SmtpAccount.SendAsync(IEnumerable1 items, Action
1 sentItem, Action`1 completed, CancellationToken cancellationToken)
at MailClient.Accounts.BindingAccountBase.SendInternal()
at MailClient.Accounts.BindingAccountBase.Send()
at MailClient.Accounts.AccountManager.SendAllInternal(Boolean checkIncludeInGlobalOperations)
at MailClient.Accounts.DesktopAccountManager.timerSendAndReceive_Tick(Object sender, EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(HWND hWnd, MessageId msg, WPARAM wparam, LPARAM lparam)
at Windows.Win32.PInvoke.DispatchMessage(MSG* lpMsg)
at System.Windows.Forms.Application.ComponentManager.Microsoft.Office.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__205_3()
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(HWND hWnd, MessageId msg, WPARAM wparam, LPARAM lparam)
at Xilium.CefGlue.Interop.libcef.run_message_loop()
at MailClient.Program.Main(String args)
GUIStatus_Exception_Reported = True
The email is then sent a minute later:
2:37:37 PM gmail address SMTP Connecting: To gmail address
Note: all links were edited so I could post as a new user.