cf apache#2928 (comment)
+ SFlux.fromPublisher(mailboxManager.search(searchByRFC822MessageId, session, NUMBER_OF_ORIGINAL_MESSAGE_ID_VALID + 1)).collectSeq().map {
- SFlux.fromPublisher(mailboxManager.search(searchByRFC822MessageId, session, SearchOptions.limit(JavaLimit.limit(NUMBER_OF_ORIGINAL_MESSAGE_ID_VALID + 1)))).collectSeq().map {
IMO we shall open another issue to actually fix this unmonitored use of search to resolve MessageID (booouh)
My suggestion is actually to rely on the ThreadIdGuessingAlgorithm in order to get the email thread and from there list thread headers in order to identify the corresponding email.
cf apache#2928 (comment)
IMO we shall open another issue to actually fix this unmonitored use of search to resolve MessageID (booouh)
My suggestion is actually to rely on the
ThreadIdGuessingAlgorithmin order to get the email thread and from there list thread headers in order to identify the corresponding email.