Enable html Script Tag in UiPath

I have a requirement where a dynamic array need to insert in a Email Body and send.
I am creating a text file with HTML
Reading the text file and storing it as s string
Passing the output string to Email body.

UiPath is not recognizing the Script tag.
Please help me with the solution.

Thanks in advance

The Send Mail or Send SMTP activities should have a “IsHTML” checkbox in the properties. If you turn that on, it should recognize your html code.

Hope I understood your correctly.


Thank you for the response. I have got the solution.
The gmail and outlook has restricted the Javascript in html because of the security.
You could refer to the below link:

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