Outlook email - image and text error

Store the template as “template.html” or whatever you want to call it. Leave namevariable and locationvariable in like you have above. Use Read Text to get the contents of the file into a string variable. Let’s say it’s called templateText. Then, in your Send Outlook Mail activity you put templateText.Replace("namevariable",namevariable).Replace("locationvariable",locationvariable). This will take the text contents of the html template and replace your placeholders with their corresponding variable values.

1 Like