Quantcast
Channel: SCN : All Content - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 7030

HTML Mail content in Sender Mail Channel

$
0
0

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.

 

WithXIPayLoad.JPG

Without "Use Mail Package" option checked the content is coming as plain text as below.

WithoutXIPayload.JPG

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.


Viewing all articles
Browse latest Browse all 7030

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>