How to attach picture into email body (node Send Email)

Hi everyone,
I struggle to insert image (JPG or PNG) into email body via HTML code. I used syntax

HTML syntax
img src=“C:\KNIME project run\Paths\image.jpg” alt=“Test image” width=“200” height=“80”

The above code was embedded into HTML code in node “Send Email” but it doesn’t work. :slightly_frowning_face:

Anyone, could you please help with this. I am not sure if what’s I am wrong on the command.

Thanks a lot for your help.

1 Like

Hello @cppong,

don’t think that will work. Check this discussion and possible ways:

Br,
Ivan

3 Likes

Thanks @ipazin
Let me check the link.

1 Like

hi @cppong

just try converting your image to Base64.

https://www.base64-image.de/

and insert the base64 code of the image in the tag:

<img src="base64code" width: height> 

5 Likes

@natanaeldgsantos

Thanks a lot, I follow your advice and it works fine!!!
Anyway, thanks again.

3 Likes

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.