on 09-11-2014 8:46 PM
Hi Experts,
I am doing a PoC using sender mail channel to read an incoming HTML email & take few values from the mail body to send out as proxy message. Settings in my Sender channel are Transport Protocol: IMAP4 & Message Protocol: XIPayload. I have tried the "Use Mail Package" parameter checked & unchecked. If "Use Mail Package" is checked the XML payload I am getting contains the mail body under <Content> tag with all HTML tags.
Without "Use Mail Package" option checked the content is coming as plain text as below.
I have tried adding modules MessageTransformBean & ASMA setting "IMail.AssumeXMLContent=true". But Not able to make the content into mapping ready XML. Is it possible to convert the HTML email body into mapping ready XML or I should use Java or XSLT mapping to work on the HTML mail body?
Thanks in advance for any help.
Regards
Prem A.
Hello,
I think u should use XSLT (preferred) or java to read this HTML content and then feed the same to ur main mapping.
Thanks
Amit Srivastava
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.