Hello,
I was looking for a way to set the message field of the Email Automation Script Action using a Script Param. Is it possible? If so, how is it done?
Thank you,
As João Severino already said, you will have to create a C# code block to use the script parameters in an email.
This is a very short example script that does this:
var scriptParamValue = engine.GetScriptParam("ParamName").Value;
var bodyOfEmail = "This is the body of an email. Script param value is " + scriptParamValue;
engine.SendEmail(bodyOfEmail, "Test Email", "example@domain.com");