Re: [EXT] Re: Search not working

Benoit TELLIER <[email protected]>
Newsgroups gmane.comp.jakarta.james.user
Message-ID <[email protected]>
How many james servers do you have?

On 20/05/2022 15:27, Sean McElroy wrote:
> I am using docker version of Apache James JPA and deploying the application in a Kubernetes cluster.
>
> -----Original Message-----
> From: Benoit TELLIER <[email protected]>
> Sent: 20 May 2022 05:35
> To: [email protected]
> Subject: [EXT] Re: Search not working
>
> What "flavour" of Apache James are you relying on?
>
> What is your deployment topology?
>
> Regards,
>
> Benoit
>
> On 19/05/2022 21:53, Sean McElroy wrote:
>> Hello All,
>>
>> I can't get the Java Mail API search functionality to work with Apache James. For example the code below does not return any message, but I know that there are unseen messages.
>>
>>
>>               Flags seen = new Flags(Flags.Flag.SEEN);
>>               FlagTerm unseenFlagTerm = new FlagTerm(seen, false);
>>               Message messages[] = emailFolder.search(unseenFlagTerm);
>>
>> I have tried other types of search but always get zero messages returned. I am using Spring Boot 2.5.4 which includes Jakarta Mail 1.6.7.
>> Do I need to do something different for the searches to work on Apache James?
>>
>> Best Regards,
>> Sean
>> Confidential Communication: The contents of this e-mail including any attachment are confidential and intended solely for the person(s) to whom they are addressed. Any reader of this email who is not the intended recipient is notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this e-mail in error, please notify the sender immediately and delete all copies from your computer system. Subsequent alterations to this email after its transmission will be disregarded.
>>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
> Confidential Communication: The contents of this e-mail including any attachment are confidential and intended solely for the person(s) to whom they are addressed. Any reader of this email who is not the intended recipient is notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this e-mail in error, please notify the sender immediately and delete all copies from your computer system. Subsequent alterations to this email after its transmission will be disregarded.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.