Protonmail Not Working Anymore

Hello there,

I had working Protonmail account in emClient.

As recently I’ve started new business I wanted to link new email account with emClient.
I’ve successfully added new domain in ProtonMail and tried to connect it to emClient, as I did my PM account.

But SMTP never managed to connect for this new email account. IMAP worked.

So, I went to fiddle with ProtonBridge and enabled Split addresses mode.
Which came with a warning I will have to delete accounts from email client and start from scratch.

Pft, easy, worked before will work now. Oh how I was wrong.

I’ve tried everything and SMTP still doesn’t work. Not even for the account that used to work.

Here’s the log if that might be of help.

21:31:59 ProtonMail [SMTP] MailClient.Accounts.SocketException: Connection failed due to the following reason: 
            "Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.."
           at MailClient.Protocols.Smtp.SmtpSendCommand.Connect(WorkerStatus status)
           at MailClient.Protocols.Smtp.SmtpSendCommand.Execute(WorkerStatus status)
           at MailClient.Commands.Command.Process(WorkerStatus status)
          EnqueuedStackTrace =
               at MailClient.Protocols.Smtp.SmtpAccount.<>c__DisplayClass3_0.<SendAsync>b__0()
               at MailClient.Protocols.Common.AccountBase.RunIfOnline(Action actionIfOnline, Action actionIfOffline)
               at MailClient.Protocols.Smtp.SmtpAccount.SendAsync(IEnumerable`1 items, Action`1 sentItem, Action`1 completed, CancellationToken cancellationToken)
               at MailClient.Accounts.BindingAccountBase.SendInternal()
               at MailClient.Accounts.BindingAccountBase.Send()
               at MailClient.Accounts.AccountManager.SendAllInternal()
               at MailClient.Accounts.AccountManager.SendAndReceiveAll()
               at MailClient.Program.<>c.<AfterStartup>b__225_0()
               at MailClient.Accounts.AccountManager.<>c__DisplayClass82_0.<InitializeOnlineMode>b__0(Object <p0>)
               at System.Threading.QueueUserWorkItemCallback.<>c.<.cctor>b__6_0(QueueUserWorkItemCallback quwi)
               at System.Threading.ExecutionContext.RunForThreadPoolUnsafe[TState](ExecutionContext executionContext, Action`1 callback, TState& state)
               at System.Threading.QueueUserWorkItemCallback.Execute()
               at System.Threading.ThreadPoolWorkQueue.Dispatch()
               at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
          GUIStatus_Exception_Reported = True

Thanks,
Denis

See this thread :

Yeah, tried all that to no avail.

Just upgraded to eMclient 9.
Installed it.
Reinstalled ProtonBridge.

SMTP still doesn’t work

But new Diagnostics feedback

12:25:25 [email protected] [SMTP] MailClient.Accounts.SocketException: Connection failed due to the following reason: 
            "Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.."
           at MailClient.Protocols.Smtp.SmtpSendCommand.Connect(WorkerStatus status)
           at MailClient.Protocols.Smtp.SmtpSendCommand.Execute(WorkerStatus status)
           at MailClient.Commands.Command.Process(WorkerStatus status)
          EnqueuedStackTrace =
               at MailClient.Protocols.Smtp.SmtpAccount.<>c__DisplayClass3_0.<SendAsync>b__0()
               at MailClient.Protocols.Common.AccountBase.RunIfOnline(Action actionIfOnline, Action actionIfOffline)
               at MailClient.Protocols.Smtp.SmtpAccount.SendAsync(IEnumerable`1 items, Action`1 sentItem, Action`1 completed, CancellationToken cancellationToken)
               at MailClient.Accounts.BindingAccountBase.SendInternal()
               at MailClient.Accounts.BindingAccountBase.Send()
               at MailClient.Accounts.AccountManager.SendAllInternal()
               at MailClient.Accounts.AccountManager.SendAndReceiveAll()
               at MailClient.Accounts.DesktopAccountManager.timerSendAndReceive_Tick(Object sender, EventArgs e)
               at System.Windows.Forms.Timer.OnTick(EventArgs e)
               at System.Windows.Forms.Timer.TimerNativeWindow.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.<Main>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

Any ideas?

Did you try disabling your anti-virus application?

What are your SMTP port and security policy settings?

Besides Windows 11 native anti-virus I don’t have any other installed/running.
Neither I had 2 days ago while it was working.

These are my SMTP settings:

bump,

new log from this morning

9:07:11 [email protected] [SMTP] MailClient.Accounts.ConnectionException: Connection failed due to the following reason: 
            "Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.."
         ---> System.IO.IOException: Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond..
         ---> System.Net.Sockets.SocketException (10060): A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
           at System.Net.Sockets.NetworkStream.Read(Span`1 buffer)
           --- End of inner exception stack trace ---
           at System.Net.Sockets.NetworkStream.Read(Span`1 buffer)
           at System.Net.Security.SslStream.FillHandshakeBufferAsync[TIOAdapter](TIOAdapter adapter, Int32 minSize)
           at System.Net.Security.SslStream.ReceiveBlobAsync[TIOAdapter](TIOAdapter adapter)
           at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](TIOAdapter adapter, Boolean receiveFirst, Byte[] reAuthenticationData, Boolean isApm)
           at System.Net.Security.SslStream.AuthenticateAsClient(SslClientAuthenticationOptions sslClientAuthenticationOptions)
           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)
          EnqueuedStackTrace =
               at MailClient.Protocols.Smtp.SmtpAccount.<>c__DisplayClass3_0.<SendAsync>b__0()
               at MailClient.Protocols.Common.AccountBase.RunIfOnline(Action actionIfOnline, Action actionIfOffline)
               at MailClient.Protocols.Smtp.SmtpAccount.SendAsync(IEnumerable`1 items, Action`1 sentItem, Action`1 completed, CancellationToken cancellationToken)
               at MailClient.Accounts.BindingAccountBase.SendInternal()
               at MailClient.Accounts.BindingAccountBase.Send()
               at MailClient.Accounts.AccountManager.SendInternal(IAccount account)
               at MailClient.Accounts.AccountManager.Send(IAccount account)
               at MailClient.UI.Forms.formMain.accountSend_Click(Object sender, EventArgs e)
               at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
               at System.Windows.Forms.ToolStripItem.OnClick(EventArgs e)
               at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
               at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
               at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
               at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
               at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
               at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
               at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
               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.ToolStrip.WndProc(Message& m)
               at System.Windows.Forms.ToolStripDropDown.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.<Main>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

As a paying customer I really like emClient, but this is frustrating.

Found a solution!

Installed Thunderbird and followed PM instructions: Thunderbird: ‘Connection to server timed out’ error | Proton

After you change ports in Bridge it works out of the box.

Tried changing ports in emclient to 1144 form IMAP and 1026 for SMTP and Voila!.

3 Likes

Thanks for that. It is great to know on which ports this works.
What is the security policy you are using for each?

Force usage of SSL/TLS

2 Likes

I changed my ports and things are working better. Wonder why it matters?