Emails not going from the Android mobile app

emails are not going from my android mobile app.
desktop is working fine.

have uninstalled and reinstalled everything but still the same.

have configured multiple accounts, but no account is working for sending emails.
though everything is fine with incoming mails

Go to th Droid “Menu / Settings / Show Operations” and click the “Log tab” and look for any obvious error messages and paste them in this thread. Blank out anything personal.

I have got two email accounts configured on the mobile app.
Everything is working fine on emclient desktop app.

one of the account is personal gmail account and another is google workspace account.

as advised attaching the log screenshot.

please help on this.

P.S.: I had selected auto-settings at the time of the set-up.

Though there might be some issues, and again have un-installed and re-installed the mobile app and did the settings all over again, but with the same result.

It was working pretty fine few weeks ago,.

Have attached the bellow:

eM Client 10.0.3530+f0b89b73a0 (Android)
5:37:13 am Manish CCPL Mails [IMAP] MailClient.Accounts.ConnectionException: Failed opening connection to server.
—> System.Net.Sockets.SocketException (0xFFFDFFFF): hostname nor servname provided, or not known
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError , CancellationToken )
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 )
at System.Threading.Tasks.ValueTask.ValueTaskSourceAsTask.<>c.<.cctor>b__4_0(Object state)
— End of stack trace from previous location —
at System.Net.Sockets.TcpClient.CompleteConnectAsync(Task )
at MailClient.Utils.Threading.TaskExtensions.WithTimeout(Task task, TimeSpan timeout, CancellationToken cancellationToken)
at MailClient.Imap.Base.Connection.CreateTcpClientAsync(String hostname, Int32 port, TimeSpan timeout, CancellationToken cancellationToken)
at MailClient.Imap.Base.Connection.<>c__DisplayClass82_0.<b__0>d.MoveNext()
— End of stack trace from previous location —
at MailClient.Imap.Base.TransportPipe.<>c__DisplayClass35_0.<b__0>d.MoveNext()
— End of stack trace from previous location —
at MailClient.Imap.Base.TransportPipe.UpgradeStreamAsync(Func2 callback) at MailClient.Imap.Base.Connection.ConnectAsync(Func2 getStream, CancellationToken cancellationToken)
at MailClient.Imap.Base.Connection.ConnectAsync(Func2 getStream, CancellationToken cancellationToken) at MailClient.Protocols.Imap.ConnectionPoolEntry.ConnectInternalAsync(CancellationToken cancellationToken) Exception_EndOfInnerExceptionStack at MailClient.Protocols.Imap.ConnectionPoolEntry.ConnectInternalAsync(CancellationToken cancellationToken) at MailClient.Protocols.Imap.ConnectionPoolEntry.ConnectInternalAsync(CancellationToken cancellationToken) at MailClient.Protocols.Imap.ConnectionPool.AcquireConnectionAsync(Folder mailFolder, Boolean noSelect) at MailClient.Protocols.Imap.ConnectionContext.CreateContextAsync(ImapAccount account, Folder folder, Boolean noSelect) at MailClient.Protocols.Imap.ImapMailSynchronizer.<>c__DisplayClass28_0.<<SynchronizeMessagesAsync>g__CreateConnectionContextAsync|0>d.MoveNext() --- End of stack trace from previous location --- at MailClient.Protocols.Imap.ImapMailSynchronizer.SynchronizeMessagesAsync(IItemSynchronizeContext1 synchronizeContext, Folder folder, Boolean fast, CancellationToken cancellationToken)
at MailClient.Protocols.Imap.ImapMailSynchronizer.SynchronizeFast(IItemSynchronizeContext1 synchronizeContext, Folder folder, CancellationToken cancellationToken) at MailClient.Protocols.Imap.ImapMailSynchronizer.Synchronize(IItemSynchronizeContext1 synchronizeContext, Folder folder, CancellationToken cancellationToken)
at MailClient.Protocols.Common.ItemSynchronizer2.<>c__DisplayClass40_2[[MailClient.Storage.Application.Mail.MailItem, MailClient.Accounts, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null],[MailClient.Storage.Mail.Data.IMailRepositoryItem, MailClient.Storage.Mail, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]].<EnqueueSynchronize>b__6(WorkerStatus status, CancellationToken ct) at MailClient.Protocols.Imap.ImapActionCommand.<>c__DisplayClass11_0.<.ctor>b__0(WorkerStatus ws, CancellationToken ct) at MailClient.Protocols.Imap.ImapActionCommand.ExecuteInternalSync(WorkerStatus status) at MailClient.Protocols.Imap.ImapActionCommand.Execute(WorkerStatus status) at MailClient.Commands.Command.Process(WorkerStatus status) AccountId = 29457d94-ee81-4e8c-9c58-c8752a5c5471 AccountName = Manish CCPL Mails IMAP_SERVER_TYPE = Gmail RunInPlace = False EnqueuedStackTrace = at MailClient.Protocols.Common.ItemSynchronizer2.<>c__DisplayClass40_1[[MailClient.Storage.Application.Mail.MailItem, MailClient.Accounts, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null],[MailClient.Storage.Mail.Data.IMailRepositoryItem, MailClient.Storage.Mail, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]].g__RunSynchronize|2()
at MailClient.Protocols.Common.ItemSynchronizer2.<>c__DisplayClass40_0[[MailClient.Storage.Application.Mail.MailItem, MailClient.Accounts, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null],[MailClient.Storage.Mail.Data.IMailRepositoryItem, MailClient.Storage.Mail, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]].<EnqueueSynchronize>b__0() at MailClient.Protocols.Common.AccountBase.RunIfOnline(Action actionIfOnline, Action actionIfOffline) at MailClient.Protocols.Common.ItemSynchronizer2[[MailClient.Storage.Application.Mail.MailItem, MailClient.Accounts, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null],[MailClient.Storage.Mail.Data.IMailRepositoryItem, MailClient.Storage.Mail, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]].EnqueueSynchronize(Folder folder, Boolean fast, CancellationToken cancellationToken, Action1 completed) at MailClient.Protocols.Common.ItemSynchronizer2[[MailClient.Storage.Application.Mail.MailItem, MailClient.Accounts, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null],[MailClient.Storage.Mail.Data.IMailRepositoryItem, MailClient.Storage.Mail, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]].Synchronize(Folder folder, SynchronizationPriority priority, Action1 completed) at MailClient.Protocols.Imap.ImapMailSynchronizer.ResynchronizeFolder(Folder folder, String reason, Boolean forced) at MailClient.Protocols.Imap.ImapMailSynchronizer.IdleConnectionDied(Folder folder) at MailClient.Protocols.Imap.ConnectionPoolEntry.Connection_Disconnected(Boolean deliberate) at MailClient.Protocols.Imap.ConnectionPoolEntry.<.ctor>b__25_0(Task1 t)
at System.Threading.Tasks.ContinuationTaskFromResultTask1[[System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].InnerInvoke() at System.Threading.Tasks.Task.<>c.<.cctor>b__281_0(Object obj) at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread , ExecutionContext , ContextCallback , Object ) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& , Thread ) at System.Threading.Tasks.Task.ExecuteEntryUnsafe(Thread ) at System.Threading.Tasks.Task.ExecuteFromThreadPool(Thread ) at System.Threading.ThreadPoolWorkQueue.Dispatch() at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart() at System.Threading.Thread.StartCallback() SocketException ErrorCode = -131073 NativeErrorCode = -131073 SocketErrorCode = HostNotFound 5:37:13 am Xrbait Mails [IMAP] MailClient.Accounts.ConnectionException: Failed opening connection to server. ---> System.Net.Sockets.SocketException (0xFFFDFFFF): hostname nor servname provided, or not known at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError , CancellationToken ) at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 ) at System.Threading.Tasks.ValueTask.ValueTaskSourceAsTask.<>c.<.cctor>b__4_0(Object state) --- End of stack trace from previous location --- at System.Net.Sockets.TcpClient.CompleteConnectAsync(Task ) at MailClient.Utils.Threading.TaskExtensions.WithTimeout(Task task, TimeSpan timeout, CancellationToken cancellationToken) at MailClient.Imap.Base.Connection.CreateTcpClientAsync(String hostname, Int32 port, TimeSpan timeout, CancellationToken cancellationToken) at MailClient.Imap.Base.Connection.<>c__DisplayClass82_0.<<ConnectAsync>b__0>d.MoveNext() --- End of stack trace from previous location --- at MailClient.Imap.Base.TransportPipe.<>c__DisplayClass35_0.<<UpgradeStreamAsync>b__0>d.MoveNext() --- End of stack trace from previous location --- at MailClient.Imap.Base.TransportPipe.UpgradeStreamAsync(Func2 callback)
at MailClient.Imap.Base.Connection.ConnectAsync(Func2 getStream, CancellationToken cancellationToken) at MailClient.Imap.Base.Connection.ConnectAsync(Func2 getStream, CancellationToken cancellationToken)
at MailClient.Protocols.Imap.ConnectionPoolEntry.ConnectInternalAsync(CancellationToken cancellationToken)
Exception_EndOfInnerExceptionStack
at MailClient.Protocols.Imap.ConnectionPoolEntry.ConnectInternalAsync(CancellationToken cancellationToken)
at MailClient.Protocols.Imap.ConnectionPoolEntry.ConnectInternalAsync(CancellationToken cancellationToken)
at MailClient.Protocols.Imap.ConnectionPool.AcquireConnectionAsync(Folder mailFolder, Boolean noSelect)
at MailClient.Protocols.Imap.ConnectionContext.CreateContextAsync(ImapAccount account, Folder folder, Boolean noSelect)
at MailClient.Protocols.Imap.ImapMailSynchronizer.<>c__DisplayClass28_0.<g__CreateConnectionContextAsync|0>d.MoveNext()
— End of stack trace from previous location —
at MailClient.Protocols.Imap.ImapMailSynchronizer.SynchronizeMessagesAsync(IItemSynchronizeContext1 synchronizeContext, Folder folder, Boolean fast, CancellationToken cancellationToken) at MailClient.Protocols.Imap.ImapMailSynchronizer.SynchronizeFast(IItemSynchronizeContext1 synchronizeContext, Folder folder, CancellationToken cancellationToken)
at MailClient.Protocols.Imap.ImapMailSynchronizer.Synchronize(IItemSynchronizeContext1 synchronizeContext, Folder folder, CancellationToken cancellationToken) at MailClient.Protocols.Common.ItemSynchronizer2.<>c__DisplayClass40_2[[MailClient.Storage.Application.Mail.MailItem, MailClient.Accounts, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null],[MailClient.Storage.Mail.Data.IMailRepositoryItem, MailClient.Storage.Mail, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]].b__6(WorkerStatus status, CancellationToken ct)
at MailClient.Protocols.Imap.ImapActionCommand.<>c__DisplayClass11_0.<.ctor>b__0(WorkerStatus ws, CancellationToken ct)
at MailClient.Protocols.Imap.ImapActionCommand.ExecuteInternalSync(WorkerStatus status)
at MailClient.Protocols.Imap.ImapActionCommand.Execute(WorkerStatus status)
at MailClient.Commands.Command.Process(WorkerStatus status)
AccountId = 0119f081-d5c5-4a35-a619-260afa5eae71
AccountName = Xrbait Mails
IMAP_SERVER_TYPE = Gmail
RunInPlace = False
EnqueuedStackTrace =
at MailClient.Protocols.Common.ItemSynchronizer2.<>c__DisplayClass40_1[[MailClient.Storage.Application.Mail.MailItem, MailClient.Accounts, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null],[MailClient.Storage.Mail.Data.IMailRepositoryItem, MailClient.Storage.Mail, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]].<EnqueueSynchronize>g__RunSynchronize|2() at MailClient.Protocols.Common.ItemSynchronizer2.<>c__DisplayClass40_0[[MailClient.Storage.Application.Mail.MailItem, MailClient.Accounts, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null],[MailClient.Storage.Mail.Data.IMailRepositoryItem, MailClient.Storage.Mail, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]].b__0()
at MailClient.Protocols.Common.AccountBase.RunIfOnline(Action actionIfOnline, Action actionIfOffline)
at MailClient.Protocols.Common.ItemSynchronizer2[[MailClient.Storage.Application.Mail.MailItem, MailClient.Accounts, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null],[MailClient.Storage.Mail.Data.IMailRepositoryItem, MailClient.Storage.Mail, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]].EnqueueSynchronize(Folder folder, Boolean fast, CancellationToken cancellationToken, Action1 completed)
at MailClient.Protocols.Common.ItemSynchronizer2[[MailClient.Storage.Application.Mail.MailItem, MailClient.Accounts, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null],[MailClient.Storage.Mail.Data.IMailRepositoryItem, MailClient.Storage.Mail, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]].Synchronize(Folder folder, SynchronizationPriority priority, Action1 completed)
at MailClient.Protocols.Imap.ImapMailSynchronizer.ResynchronizeFolder(Folder folder, String reason, Boolean forced)
at MailClient.Protocols.Imap.ImapMailSynchronizer.IdleConnectionDied(Folder folder)
at MailClient.Protocols.Imap.ConnectionPoolEntry.Connection_Disconnected(Boolean deliberate)
at MailClient.Protocols.Imap.ConnectionPoolEntry.<.ctor>b__25_0(Task1 t) at System.Threading.Tasks.ContinuationTaskFromResultTask1[[System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__281_0(Object obj)
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread , ExecutionContext , ContextCallback , Object )
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& , Thread )
at System.Threading.Tasks.Task.ExecuteEntryUnsafe(Thread )
at System.Threading.Tasks.Task.ExecuteFromThreadPool(Thread )
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
at System.Threading.Thread.StartCallback()
SocketException
ErrorCode = -131073
NativeErrorCode = -131073
SocketErrorCode = HostNotFound
5:53:06 am Xrbait Mails [IMAP] System.Threading.Tasks.TaskCanceledException: TaskCanceledException_ctor_DefaultMessage
at MailClient.Protocols.Imap.ImapAccount.SynchronizeIntAsync(Boolean forced)
at MailClient.Protocols.Common.SynchronizableMailAccount.<>c__DisplayClass22_0.<b__0>d.MoveNext()
5:54:52 am Xrbait Mails SMTP Connecting: To Xrbait Mails

One of the account is personal gmail account and another is google workspace account.

5:37:13 am Manish CCPL Mails [IMAP] MailClient.Accounts.ConnectionException: Failed opening connection to server.
—> System.Net.Sockets.SocketException (0xFFFDFFFF): hostname nor servname provided, or not known

SocketErrorCode = HostNotFound 5:37:13 am Xrbait Mails [IMAP] MailClient.Accounts.ConnectionException: Failed opening connection to server. —> System.Net.Sockets.SocketException (0xFFFDFFFF): hostname nor servname provided, or not known.

5:54:52 am Xrbait Mails SMTP Connecting: To Xrbait Mails

Ok for Gmail accounts there is some strange connection error logs. eg: There is connection errors referencing Xrbait Mails IMAP and Xrbait Mails SMTP Connecting: To Xrbait Mails failed etc , Also in your logs Manish CCPL Mails [IMAP] MailClient.Accounts.ConnectionException: Failed opening connection to server etc

Are you running on your Android mobile any eg: optionally installed Firewall / Security program or optionally installed Antivirus program or VPN’s ? other than the basic Android stock OS.

If you are, suggest to completely disable those to test and then close and reopen the eM Client Droid mobile app and see if that makes any difference.

If your not running any optionally installed Droid programs like the above, then “check if you have the correct eM Client Gmail SMTP and IMAP Android mobile app settings”.

These are eM Client Droid Gmail Settings below to use to receive and send mail on either mobile data or wifi. I personally use a OS 14 mobile phone and sends & receives fine.

Many thanks.

I checked and could see that VPS was active.

As you suggested, deactivated the VPS and one account (personal one) was quick to send message and the other account (the Google Workspace account) still could not send the message.

What could be the issue, now?

Your help is deeply appreciated.

If the Google Workspace account wont send mail on the Android app but the personal Gmail account will with the same SMTP settings and your VPN disabled, then try removing and re-adding the Google Workspace account again “using the Manual Setup” and select “Gmail”.

As there was a Google Workspace user recently who had a eg: domain name setup outside of Google and wouldn’t work via the automatic setup, but when they used the manual setup and selected Gmail that setup and sent and received ok. So might also work for you.

Or failing that, when you add the Google Workspace account in the mobile droid app “choose the Import via QR Code” “under the manual setup” and then follow the prompts in the mobile app to import your existing Google Workspace account from eM Client for desktop.

Lastly if neither the automatic or manual setup or import via qr code works for sending mail using your Google Workspace account, then you might need to try adding that again in the new mobile app update. From what i’ve read on the forum today there is a new droid app update due soon.

Hurray!!

Yes, that worked.

I did manual settings, entered everything the same that was there earlier as well, and this time it worked.

Test mails went in a jiffy.

Thanks again, you have been a saviour.

Appreciate your help!!

Hope this will help many others too who are facing the similar issue.