Help with HTML mail

Hi @NightWing03 ,

You do not require an Invoke Code Activity to replace the value. You could use String Replace Activity.

As the excel is a config file, I would guess it is already being read into a Dictionary variable Config. You could use this variable to access the HTML_Code value like below :

Config("HTML_Code").ToString

For Replacing the values in the HTML_Code, you could do the below :

Config("HTML_Code").ToString.Replace("ExcelName","ValueToReplace")

Let us know what is your implementation method, If Config file is already being Read as a Dictionary or not/RE-Framework is being used.

1 Like