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

fix: STORE for iCloud and other strict IMAP servers #31

Merged
merged 1 commit into from
Mar 28, 2024

Commits on Mar 28, 2024

  1. fix: STORE for iCloud and other strict IMAP servers

    Apple's iCloud IMAP server (and possibly others, although I haven't tested it) want brackets around any
    FLAG command params as shown in the examples of [RFC3501](https://datatracker.ietf.org/doc/html/rfc3501#section-6.4.6])
    If the brackets aren't added, the command fails with BAD Parse Error
    To fix this, wrap the params of a STORE command in a Horde_Imap_Client_Data_Format_List
    Otherwise, the \Delete FLAG, \Seen FLAG and possibly all other PERMFLAGs aren't added, even if the
    STORE command doesn't return a BAD response.
    
    Signed-off-by: Anna Larch <anna@nextcloud.com>
    miaulalala authored and ralflang committed Mar 28, 2024
    Configuration menu
    Copy the full SHA
    4183358 View commit details
    Browse the repository at this point in the history