Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

HTML Mail content in Sender Mail Channel

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.

Tags:

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question