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?
SowmyaLeo
(Sowmya Sivakumar)
2
@Kytyzow
Replace the variable with {0} in the HTML.
Then in the activity where you are using this text use:
String.Format(TheHTMLText, variable)
bcorrea
(Bruno Correa)
3
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.