Bug 480620 - EWS - KMail2 not showing last 10 days of emails
Summary: EWS - KMail2 not showing last 10 days of emails
Status: REPORTED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 5.24.4
Platform: Manjaro Linux
: NOR critical
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-31 19:55 UTC by Agron
Modified: 2024-01-31 20:10 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Agron 2024-01-31 19:55:52 UTC
The latest email I see in the inbox is of January 20, 2024. However, using outlook web page I see all the recent emails, including the one I sent and received today, yesterday and everyday since January 20, 2024.

When I open KMail, it always starts as offline with all mailbox subfolders in red.
- I have to go to Settings/Configure Kmail.../Accounts/Receiving/
- Select the EWS mail account
- click Modify...
- on General tab click Try Connect
- Enter outlook password
- Enter 2FA code
- Click OK to close Microsoft Exchange Configuration
- Click OK to close KMail configuration
- All folders will now turn from red to white in my case because of dark mode

Now go to Inbox folder and wait for the message list to refresh.
It doesn't refresh.
It show messages from 10 days ago. 
I go to other folders, still 10 days old messages.

Try re-authenticating again, same problem continues.

When I click on a different email folder, I see the wheel very briefly and it shows the old messages. 

I don't know what to do to force KMail to download the recent messages.
Please advise.
Comment 1 Agron 2024-01-31 20:10:39 UTC
I got the latest emails and this is what seems to hold the pipe. What can I do to prevent this holdup again?

org.kde.pim.akonadiserver.search: Search  "kmail2-2053844853-SearchSession" done (without remote search)
org.kde.pim.akonadiserver: Error while handling command ModifyItems on connection akonadi_ews_resource_0 (0x55f654630f30)
org.kde.pim.akonadiserver: ItemRetrievalJob for request 234 finished with error: "Unable to retrieve item from resource: [LLCONFLICT] Resource akonadi_ews_resource_0 tries to modify item 84416 (AAMkADFkYjQxZGJkLTUyMWItNGQzMy04MDQ0LTM3M2Q3NzYyMTQzZABGAAAAAAAdd/tu6sfqQbzlOUXERx9CBwC+CXW9ue7bS6FxLkFMn5mnAAAAAAEMAAC+CXW9ue7bS6FxLkFMn5mnAARDGIaoAAA=) (in collection 36) with revision 1; the item was modified elsewhere and has revision 2, aborting STORE."
org.kde.pim.akonadiserver: Handler exception when handling command FetchItems on connection kmail2-2053844853 (0x55f654637640) : Unable to fetch item from backend (collection -1) : Unable to retrieve item from resource: [LLCONFLICT] Resource akonadi_ews_resource_0 tries to modify item 84416 (AAMkADFkYjQxZGJkLTUyMWItNGQzMy04MDQ0LTM3M2Q3NzYyMTQzZABGAAAAAAAdd/tu6sfqQbzlOUXERx9CBwC+CXW9ue7bS6FxLkFMn5mnAAAAAAEMAAC+CXW9ue7bS6FxLkFMn5mnAARDGIaoAAA=) (in collection 36) with revision 1; the item was modified elsewhere and has revision 2, aborting STORE.
org.kde.pim.akonadiserver.search: Executing search "searchUpdate-1706731622"
org.kde.pim.akonadiserver.search: Search  "searchUpdate-1706731622" done (without remote search)