Hi Federico, I changed the from clause to what you suggested. But I still get the empty body.
Regards, Harro -----Original Message----- From: Federico Mariani <federico.mariani.1...@gmail.com> Sent: Monday, May 27, 2024 09:59 To: users@camel.apache.org Subject: Re: Empty body in received email Hello, I did a quick test with your reproducer using an in-memory Apache James Mail Server, and it is working fine, the only change I had to make was the following, in ImapRoute.configure I modified the *from* clause to from("imap://" + host + ":" + port + "?username=" + username + "&password=" + password) and in the processor, I could verify that exchange.getIn().getBody() contains the expected String message. Regards, Federico Disclaimer Dit bericht met eventuele bijlagen is vertrouwelijk en uitsluitend bestemd voor de geadresseerde. Indien u niet de bedoelde ontvanger bent, wordt u verzocht de afzender te waarschuwen en dit bericht met eventuele bijlagen direct te verwijderen en/of te vernietigen. Het is niet toegestaan dit bericht en eventuele bijlagen te vermenigvuldigen, door te sturen, openbaar te maken, op te slaan of op andere wijze te gebruiken. Ordina Holding B.V. en/of haar groepsmaatschappijen accepteren geen verantwoordelijkheid of aansprakelijkheid voor schade die voortvloeit uit de inhoud en/of de verzending van dit bericht. This e-mail and any attachments are confidential and are solely intended for the addressee. If you are not the intended recipient, please notify the sender and delete and/or destroy this message and any attachments immediately. It is prohibited to copy, to distribute, to disclose or to use this e-mail and any attachments in any other way. Ordina Holding B.V. and/or its group companies do not accept any responsibility nor liability for any damage resulting from the content of and/or the transmission of this message.