I have an Email polling service which gets an Email which will be having HTML body (Includes images,color fonts etc). I need to extract specific fields/values from that email body.
It is giving error while converting xmlNode to document.
I don’t think metadata tags in html will have closing tags. From your error, the issue might be with img and span tags. Img in a span tag. For to draw some clear conclusions can you post the output step 4 in your code?