Question

2
Replies
531
Views
MandeepRawat Member since 2016 11 posts
Crochet Technologies Pvt Limited
Posted: 2 years ago
Last activity: 2 years 5 months ago
Closed
Solved

How to parse email body containg < meta > tag

I have created a email listener which will read an inbox email. It will parse the body content and will create the workitems.

when I set the the email type to be plain/text I am able to parse the body with parse delimited rule and create workitem.

but

when I use the type text/html the .pyInboundEmail.pybody has html in it in the form of

<html>

<head>

<meta>

</head>

<body>

key1="value1"

key2="value2"

key3="value3"

key4="value4"

</body>

</html>

so, the parse delimited rule obviously fails

the thing is when I am trying to use the parse xml rule , it is showing <meta> tag not closed properly,

could you suggest how can I handle that,

if you need anything from my side do let me know, apologies for any typo mistakes...

thanks in advance

Data Integration
Moderation Team has archived post
Share this page LinkedIn