Re: Read HTML mails

2021-11-25 Thread Joël Guelluy
8.'); > zHeaders = zHeaders + name +": " + value + "\r\n" >    } >    mail822filename = request.headers['zzTEMP822']+"PJ_Courriel_1.eml" >    mailoriginal = new File(mail822filename); >    mailoriginal.write(zHeaders+

RE: Read HTML mails

2021-11-24 Thread Daniel Langevin
t.getCount(); i++) { ii = i; bodyPart = mimeMultipart.getBodyPart(i); if (bodyPart.isMimeType("message/rfc822")) { zresult = zresult + 1; mail822filename = request.headers['zzTEMP822']+"PJ_

Read HTML mails

2021-11-24 Thread Joël Guelluy
Hello, I am using camel-mail to poll a mailbox (HTML mails). I want to retrieve the HTML source of the mail, i didn't find how i can do this... I tried exchange.getIn().getBody() but it contains only text, tags are lost. Do i have to configure/declare something to keep it ? Can you help me