Red triangle for Yahoo email / Archived emails disappeared

Last week I installed emclient and imported my Outlook settings. I am using the free trial. I am receiving my Yahoo email, but I have a perpetual red triangle next to my Yahoo account. I verified the settings and they are what emclient recommends: imap.yahoo.com port 993 use ssl/tls on special port (legacy). The log shows System.ArgumentException: Invalid input stream

Clicking on the red triangles causes it to go away for about 30 seconds, then it comes right back, yet my Yahoo emails still come in.

I have another issue, possibly related. I set up auto archiving to archive all emails more than 3 weeks old. It worked fine for my other 4 accounts. On the Yahoo account all emails more than 3 weeks old disappeared from eM Client and they did not appear in the archive folder under local folders. My Yahoo inbox in eM Client still says there are 1582 items, which would be all emails, but only about 200 are shown (all for the last 3 weeks). If I log into the Yahoo website all 1582 emails are still there.

OK, I feel like I’m talking to myself here. I searched through this forum for past suggestions about Yahoo accounts. I tried two of the suggestions:

  1. I removed the account and added it back with the automatic settings. The settings appear to be the same as what I had before. After that I only had 20 messages from today showing.
  2. I clicked on the inbox and did a Repair. I now have no messages showing, but hey, the red triangle went away! Refresh does not download any messages, including new ones that are visible when I view my Yahoo mail on the Yahoo website.

By the way, I did email customer support last week, but did not receive a response. Apparently the forum and email are the only support options available to those on a free trial. It’s a shame because I like eM Client overall, but I need to get past this issue before I buy or subscribe to the product.

The log shows System.ArgumentException: Invalid input stream

That is a very unusual error to get after adding a IMAP Yahoo account which is why I suspect no one has answered your post on this free forum.

I’ve personally never encountered that in Windows or Mac with my Yahoo IMAP account with the following settings via the “automatic account wizard”. Make sure when you add the account that “you have clicked allow at the end” to give eM Client access to your Yahoo account.

Also even try going online to your Yahoo account and try removing the eM Client OAuth 2 token and then adding your Yahoo account incase it was a failed token when you added the account. The Yahoo eM Client token is normally in your Yahoo account third party apps section.

Then your IMAP account tab should show the following when you go to “Menu / Accounts”.

Server address - imap.mail.yahoo.com
Port - 993
Security policy - Use SSL/TLS on special port (legacy).

So if the above server address / still doesn’t work, then sometimes “background programs starting up running resident can cause interference” such as eg: Optionally installed Firewall Security programs or optionally installed Antivirus programs or VPNs. So if you have anything like that installed other than what comes default with the OS try completely disabling those to test.

Also make sure you are using a recent OS as sometimes older OS’s “can have missing components that are needed” to work correctly. eM Client supports the last 3 OS’S.

I personally use Windows 10 and 11 and Mac Sonoma & Sequoia with my Yahoo account. Also make sure you have the latest OS updates in whatever OS you are running incase it’s outdated.

.

Ok, thanks. I’m using Windows 11, the latest version but, without this week’s Tuesday patch.
Interestingly enough there was no eM Client oAuth token listed, just the one for Outlook. I deleted the Yahoo account from eM Client and added it back by going to Accounts / Add Account. I now see some improvement; it shows me today’s email only instead of nothing at all. During the account adding process it switched to my web browser where I was already logged into Yahoo, but Yahoo did not prompt for confirmation (like it did when I imported settings from Outlook last week). Still no oAuth token listed on the Yahoo side. Maybe the issue is a bug or outdated method of getting the authorization. The log still shows the Invalid Input Stream error.

I really want emClient to work with Yahoo as I like it with my other 4 accounts. Maybe I’ll have to pay for a subscription so I can get support from them.

Still no oAuth token listed on the Yahoo side.

During the account adding process it switched to my web browse

Ok try closing eM Client and setting “another browser as the default” and then open eM Client and try again as could be browser related.

I’d also recommend to try completely clearing your browser cache as well.

Also after you click Allow at the end of the wizard, sometimes you will see a small box appears just at the very top of the browser where you click on and say eg: Allways open eM Client. Also toggle around via Alt Tab incase there is another prompt in the background as well.

No, I don’t get the prompt. It just switches to my web browser and displays my Yahoo mailbox. I tried with Firefox as the default browser, then with Chrome. The following is now displaying on Yahoo, so apparently it’s a Yahoo problem. I don’t see any way to remove, then add the password in eM Client without removing the account. I’ll check out the more information link. Thanks for your help!

We are aware some users are experiencing issues accessing their Yahoo Mail using third-party mail clients. Removing and re-entering your Yahoo Mail password in the email client should solve this. Read our help article for more information and steps. You may also access Yahoo Mail on the web at mail.yahoo.com or using the Yahoo Mail app for iOS or Android.

Ok I will test removing and readding my Yahoo account again later tonight and update.

Thanks, I tried that myself. I see the same result: switches to the browser, but no prompt and I only see today’s email. I’ll try it again in the morning (Pacific Time)

I see the same result: switches to the browser, but no prompt and I only see today’s email.

Ok I have retested adding my Yahoo IMAP account into eM Client via the “automatic account wizard” and it works perfectly. It also “does prompt to allow eM Client to your Yahoo account”.

I first removed my existing Yahoo eM Client OAuth 2 app token via the Yahoo online account “Recent Activity / Connected apps” section part way down on the right.

I then removed my existing Yahoo IMAP account from eM Client 10.1.4588.

I then added it again via the “Add Account / Automatic account wizard” and at the end, I got a popup message appear “to allow eM Client access to my Yahoo Mail, Calendar & Contacts” etc.

Then when i clicked (Agree) on the Yahoo Prompt, “it then went back to eM Client and showed the Yahoo account” and “received the Yahoo connected mail ok” in my Inbox once i saved and exited eM Client accounts. It also then showed the eM Client app token again in my Yahoo account online. See example screenshots below of the setup.

Tested the same Yahoo setup tonight with Windows 11 & Mac & both worked fine.

So suggest to try toggling around your various open windows with the Alt-Tab or Alt-Esc keys “after you click the Finish button” on the 3rd screen of the Yahoo account setup to see if the Yahoo Prompt is then behind in another window as per the 4th screenshot below.

(eM Client 10.1.4588 for Mac Yahoo setup example using Chrome browser)

I was able to find em Client under Recent activity and remove it from there. (I had been looking under security.) Then I deleted the Yahoo account in eM Client and added it back. This time it did prompt me to authorize the app, which I did. So at least that part worked. I still get the red triangle, though, with the “invalid input” error showing in the log. And eM Client refuses to show any emails before yesterday.

This time it did prompt me to authorize the app, which I did. So at least that part worked.

Ok so the OAuth token is working so that’s good.

I still get the red triangle, though, with the “invalid input” error showing in the log. And eM Client refuses to show any emails before yesterday.

Ok click the drop-down on the right of Refresh and click Show Operations. Then click the Log Tab and “look for any other obvious error messages” and paste them in this thread. We might then be able to see what’s wrong.

The error tab is empty. The very top of the log says:
eM Client 10.1.4588+f11e2ab373 (Windows)

The obvious error is (I edited my email address here):
2:36:16 PM [email protected] IMAP Synchronizing folder ‘/Inbox’
2:36:21 PM [email protected] [IMAP] System.ArgumentException: Invalid input stream
at MailClient.Streams.UUDecodeStream.Read(Span1 buffer) at MailClient.Streams.UUDecodeStream.Read(Byte[] buffer, Int32 offset, Int32 count) at MailClient.Storage.Mail.Data.DbMailRepository.StoreMimePart(UInt64 messageId, String partName, IMimePart mimePart, Boolean contentIsEncoded, Boolean previewAvailable, String& preview) 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.AddRangeInt(IEnumerable1 items, Action1 uploadCompleted, CancellationToken cancellationToken)
at MailClient.Storage.Application.ItemCollection2.AddRange(IEnumerable1 items)
at MailClient.Protocols.Common.ItemSynchronizeContext2.StoreItems[TUid,TVid](SynchronizationType synchronizationType, IEnumerable1 newItems, Dictionary2 uniqueIdToVersionId, Dictionary2 uniqueIdToOid)
at MailClient.Protocols.Common.MailItemSynchronizeContext.StoreItems[TUid,TVid](SynchronizationType synchronizationType, IEnumerable1 newItems, Dictionary2 uniqueIdToVersionId, Dictionary2 uniqueIdToOid) at MailClient.Protocols.Common.ItemSynchronizeContext2.<>c__DisplayClass20_03.<Synchronize>g__FlushItems|1(Int32 threshold) at MailClient.Protocols.Common.ItemSynchronizeContext2.Synchronize[T,TUid,TVid](SynchronizationType synchronizationType, IEnumerable1 items, Func2 getUniqueId, Func2 getVersionId, Func3 hasChanged, Func2 isDeleted, Func2 convertItems, Action2 updateItem) at MailClient.Protocols.Imap.SyncOperations.BaseSyncOperation.WriteSyncItemsToDb(CancellationToken& cancellationToken) at MailClient.Protocols.Imap.SyncOperations.BaseSyncOperation.ProcessFetchNotifications(CancellationToken& cancellationToken, Boolean fromInterruption) at MailClient.Protocols.Imap.SyncOperations.BaseSyncOperation.ProcessPriorityUpdatesAsync(CancellationToken& cancellationToken) at MailClient.Protocols.Imap.SyncOperations.BaseSyncOperation.<FetchRawMessagesAsync>g__FetchRawMessagesSlowAsync|66_0(SequenceSet rawUids, CancellationToken cancellationToken) at MailClient.Protocols.Imap.SyncOperations.BaseSyncOperation.FetchNewMessagesAsync(SequenceSet uidSet, UInt32 messageCountEstimate, Boolean narrowed, Boolean chunk, Boolean allowHybridMode, CancellationToken cancellationToken) at MailClient.Protocols.Imap.SyncOperations.BaseSyncOperation.FetchNewMessagesAsync(SequenceSet uidSet, UInt32 messageCountEstimate, Boolean narrowed, Boolean chunk, Boolean allowHybridMode, CancellationToken cancellationToken) at MailClient.Protocols.Imap.SyncOperations.NormalSyncOperation.SynchronizeFolder(Dictionary2 infoOldFlags, UInt32 serverMessageCount, UInt32 newMessagesTotal, UInt32 uidNext, CancellationToken cancellationToken)
at MailClient.Protocols.Imap.SyncOperations.NormalSyncOperation.ExecuteInternalAsync(CancellationToken cancellationToken)
at MailClient.Protocols.Imap.SyncOperations.BaseSyncOperation.ExecuteAsync(CancellationToken cancellationToken)
at MailClient.Protocols.Imap.ImapMailSynchronizer.SynchronizeMessagesAsync(IItemSynchronizeContext1 synchronizeContext, Folder folder, Boolean fast, CancellationToken cancellationToken) at MailClient.Protocols.Imap.ImapMailSynchronizer.SynchronizeMessagesAsync(IItemSynchronizeContext1 synchronizeContext, Folder folder, Boolean fast, CancellationToken cancellationToken)
at MailClient.Protocols.Imap.ImapMailSynchronizer.Synchronize(IItemSynchronizeContext1 synchronizeContext, Folder folder, CancellationToken cancellationToken) at MailClient.Protocols.Common.ItemSynchronizer2.<>c__DisplayClass39_2.b__6(WorkerStatus status, 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)
— End of stack trace from previous location —
at MailClient.Protocols.Imap.ImapAccount.SynchronizeIntAsync(Boolean forced)
at MailClient.Protocols.Common.SynchronizableMailAccount.<>c__DisplayClass22_0.<b__0>d.MoveNext()
IMAP_SERVER_TYPE = Yahoo
RunInPlace = False
EnqueuedStackTrace =
at MailClient.Protocols.Common.ItemSynchronizer2.<>c__DisplayClass39_0.<EnqueueSynchronize>b__0() at MailClient.Protocols.Common.AccountBase.RunIfOnline(Action actionIfOnline, Action actionIfOffline) at MailClient.Protocols.Common.ItemSynchronizer2.Synchronize(Folder folder, SynchronizationPriority priority, Action1 completed) at MailClient.Storage.Application.ItemCollection2.Synchronize(SynchronizationPriority priority, Action1 completed, Boolean fromUI) at MailClient.Storage.Application.Folder.Synchronize(SynchronizationPriority priority, Boolean fromUI) at MailClient.Protocols.Imap.ImapFolderSynchronizer.FolderActivated(Folder folder, Boolean goingOnline) at MailClient.Protocols.Common.FolderSynchronizer.GoOnlinePost() at MailClient.Protocols.Imap.ImapFolderSynchronizer.GoOnlinePost() at MailClient.Protocols.Imap.ImapAccount.GoOnlineInt() at MailClient.Protocols.Common.AccountBase.ChangeOnlineState(Boolean online, OfflineReason offlineReason) at MailClient.Protocols.Common.AccountBase.GoOnline() at System.Threading.Tasks.Parallel.<>c__DisplayClass43_02.b__1(IEnumerator& partitionState, Int64 timeout, Boolean& replicationDelegateYieldedBeforeCompletion)
at System.Threading.Tasks.TaskReplicator.Replica.Execute()
at System.Threading.Tasks.TaskReplicator.Replica.<>c.<.ctor>b__4_0(Object s)
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__281_0(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
at System.Threading.Tasks.ThreadPoolTaskScheduler.TryExecuteTaskInline(Task task, Boolean taskWasPreviouslyQueued)
at System.Threading.Tasks.Task.InternalRunSynchronously(TaskScheduler scheduler, Boolean waitForCompletion)
at System.Threading.Tasks.TaskReplicator.Run[TState](ReplicatableUserAction1 action, ParallelOptions options, Boolean stopOnFirstFailure) at System.Threading.Tasks.Parallel.PartitionerForEachWorker[TSource,TLocal](Partitioner1 source, ParallelOptions parallelOptions, Action1 simpleBody, Action2 bodyWithState, Action3 bodyWithStateAndIndex, Func4 bodyWithStateAndLocal, Func5 bodyWithEverything, Func1 localInit, Action`1 localFinally)
at MailClient.Accounts.BindingAccountBase.GoOnline()
at MailClient.Accounts.AccountManager.SetAccountOnline(IAccount account)
at MailClient.UI.Controls.Folders.controlFolders.treeView_NodeClicked(Object sender, TreeViewCancelEventArgs e)
at MailClient.Common.UI.Controls.ControlTreeView.ControlTreeView.OnNodeClicked(TreeViewCancelEventArgs e)
at MailClient.Common.UI.Controls.ControlTreeView.ControlTreeView.OnMouseDown(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at MailClient.Common.UI.Controls.TouchScrollUserControl.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

I see a reference to MIME part. It makes me wonder if I have a malformed email that is somehow causing it to fail.

I deleted a spam email that was right before the oldest one I see in eM Client. It was able to sync my inbox back to October 20! So apparently particular spam messages are causing it. I went ahead and paid for my license and opened a VIP support ticket.

The thing about archived emails disappearing was a bad assumption on my part. When I opened this I had just set up auto archive for emails older than 4 weeks. My other accounts archived fine, but the Yahoo account didn’t show anything older than 4 weeks and its archive was empty. I realize now that auto archive had nothing to do with it. It was just the point when the sync failed. (While repeatedly deleting and adding back my Yahoo account I got another bad email that meant it wasn’t syncing anything earlier than yesterday morning.)

Also check in your eM Client Yahoo account “IMAP tab / Sync Options” if it’s set to eg: “All Time or Limited to only a specific period of time.

It’s set to all time, although eM Client already imported my Yahoo archive from Outlook into local folders, so I guess 3 months would cover everything that wasn’t already imported.