Files
spring-integration/spring-integration-mail/src
Artem Bilan 1d85d6b43c GH-9633: MailReceiver: also set flags into IntegrationMimeMessage
Fixes: #9633
Issue link: https://github.com/spring-projects/spring-integration/issues/9633

The message flags of the received messages are outdated and don't contain the changes of `AbstractMailReceiver#setMessageFlags`,
because the flags are only applied to the original message and not the copy (`AbstractMailReceiver.IntegrationMimeMessage`).

* Call `setMessageFlagsAndMaybeDeleteMessages()` for `IntegrationMimeMessage` copies as well

**Auto-cherry-pick to `6.3.x` & `6.2.x`**
2024-11-06 10:56:06 -05:00
..