Create HTML Content - Unable to type anything in the input field in Insert Image in "From file when run" option

Hi, everyone.

For some reason I can’t seem to type anything in the input field in the “From file when run” option. Even when I try to input using the Advanced Editor.

My studio version is 2022.4.3 and the package where the Create HTML Content (UiPath.Mail.Activities) is 1.18.2

I am also experiencing this issue. What I know so far is when using the “From file when run” option, Studio inserts the image as base-64 instead of path. Still looking for solution why the field is not editable.

Found this official package in the Marketplace as an alternative. The Body parameter accepts HTML too. The Image path can be a variable. Please update if it works out.

2 Likes

I did a small workaround where I made an HTML email body in a text file and used String.Format to put in the would-be variables in the email like the image source.

3 Likes

Was ur workaround to replace the <img tag src from text file to a UiPath variable?

one alternative solution for this (even without using UiPath.Mail package) is to create a html body in a text file and replace the src value to your UiPath variable using string.replace.

see sample workflow for your reference:

htmlBodySample.txt (106 Bytes)
Send_Email_Test.xaml (8.0 KB)

1 Like

Yep! Using I just used String.Format since I had to replace a couple of other text in the HTML body as well. Thanks!