You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected Behavior
Flagging of messages should be optional similar with SearchTermStrategy
It would be ideal to simply bypass the default behaviour when a custom SearchTermStrategy is used.
Current Behavior
Messages are always flagged when the email server does not support \Recent or user flags even when that flag is not used when searching for new new messages.
How has this issue affected you?
Microsoft Exchange does not support \Recent or user flags, thus ImapMailReceiver always flags the read messages.
What other alternatives have you considered?
Override ImapMailReceiver.setAdditionalFlags in order to remove the 'FLAGGED' flag, but this is not a viable solution because it may remove a "real" Follow-up flag.
The text was updated successfully, but these errors were encountered:
Expected Behavior
Flagging of messages should be optional similar with SearchTermStrategy
It would be ideal to simply bypass the default behaviour when a custom SearchTermStrategy is used.
Current Behavior
Messages are always flagged when the email server does not support \Recent or user flags even when that flag is not used when searching for new new messages.
How has this issue affected you?
Microsoft Exchange does not support \Recent or user flags, thus ImapMailReceiver always flags the read messages.
Are you aware of any workarounds?
I am not sure if this even works, but it may be a workaround.
https://stackoverflow.com/questions/62214324/java-mail-listner-this-email-server-does-not-support-recent-or-user-flags
What other alternatives have you considered?
Override ImapMailReceiver.setAdditionalFlags in order to remove the 'FLAGGED' flag, but this is not a viable solution because it may remove a "real" Follow-up flag.
The text was updated successfully, but these errors were encountered: