Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't use QRESYNC for iCloud. #1871

Open
bkaankose opened this issue Jan 18, 2025 · 0 comments
Open

Can't use QRESYNC for iCloud. #1871

bkaankose opened this issue Jan 18, 2025 · 0 comments

Comments

@bkaankose
Copy link

Describe the bug
Even though the server capabilities return QuickResync flag for the iCloud's IMAP server, and EnableQuickResyncAsync or EnableQuickResync succeeds after authentication, using OpenAsync override with uidValidity throws InvalidOperationException with a message "The QRESYNC extension has not been enabled." for iCloud.

Platform (please complete the following information):

  • OS: Windows
  • .NET Framework: netstandard 2.1
  • MailKit Version: 4.9.0

Exception
"The QRESYNC extension has not been enabled."

   at MailKit.Net.Imap.ImapFolder.QueueOpenCommand(FolderAccess access, UInt32 uidValidity, UInt64 highestModSeq, IList`1 uids, CancellationToken cancellationToken)
   at MailKit.Net.Imap.ImapFolder.OpenAsync(FolderAccess access, UInt32 uidValidity, UInt64 highestModSeq, IList`1 uids, CancellationToken cancellationToken)
   at Wino.Core.Synchronizers.ImapSync.QResyncSynchronizer.<HandleSynchronizationAsync>d__1.MoveNext() in D:\GitHub\Wino-Mail\Wino.Core\Synchronizers\ImapSync\QResyncSynchronizer.cs:line 67

Expected behavior
EnableQuickResyncAsync/EnableQuickResync should activate QRESYNC for the ImapClient properly if the server capabilities supports it.

@bkaankose bkaankose changed the title Can't use QSYNC for iCloud. Can't use QRESYNC for iCloud. Jan 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant