HTML E-Mail variable in Body

Hello, everybody,

I have an e-mail which I write as HTML. The e-mail body should be filled with a value from a variable.

html>
head>
body>
Hello " & variable & "
/body>
/head>
/html>

Unfortunately I am not allowed to save the HTML e-mail as a file. Is there a way to enter a variable directly in the body?

@Kytyzow

Replace the variable with {0} in the HTML.

Then in the activity where you are using this text use:
String.Format(TheHTMLText, variable)

Yes, you can use a variable of type String in the Body property for send email.

String.Format(“html> … {0} … /html>”, variable} does not work.