I'm working on a logic which sends a mail according to the form submission. In that form I have a rich text editor which is created using summernote.
now when I submit the form, it submit the base64 encoded image to server side correctly. Please find the part of the submitted content below,
<p>test</p><p><img src="data:image/jpeg;base64,/9j/4AAQSkZJRg...
However, After receiving the mail renders in gmail as a byte array like below,
when I inspect the element I can see a tags like below,
I try to fix the issue by unescapeHtml the body in the server-side but no luck on that. Whats I'm doing wrong here? how can I fix this please help?