Hi Stephan, Thanks for your response. Yes, I tried all kinds of bodies, with : and without. One line, multiple lines etc. But it is always empty.
Regards, Harro -----Original Message----- From: Siano, Stephan <stephan.si...@sap.com.INVALID> Sent: Monday, May 27, 2024 13:30 To: users@camel.apache.org Subject: RE: Empty body in received email Hi Harro, I looked into your example. It seems that the body is of the <string>: <string>\n<string>:<string>. Do you face the same issue with different bodies (e.g. "anything without a colon")? Maybe some component here (e.g. the mail server, the camel-mail component or the mail server) misinterpret your body as additional headers. Best regards Stephan -----Original Message----- From: Voorst, Harro van <harro.van.voo...@ordina.nl.INVALID> Sent: Monday, 27 May 2024 13:24 To: users@camel.apache.org Subject: RE: Empty body in received email [You don't often get email from harro.van.voo...@ordina.nl.invalid. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ] 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. 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.