Is there a way to format the email body text in the Send Email task (SMTP)? I would like some minor formatting of the email body, such as bold or possibly a little bit of red text. I’m currently building the global.EmailBody variable in a script…and if I include html tags they just show in the email.
I’m attaching an invoice as a .PDF so this task works very well for that.
Workflow will treat the content of the Message field as an HTML email if it starts with the string .
Note that the HTML text is subject to the same variable expansion rules as the other fields, meaning that a litteral backslash character must be doubled (i.e. \ to mean ), etc.
It should also be noted that Connect’s Create Email Content task is so much more flexible and feature-rich that it puts the basic Send Email task to shame. That’s why we designed it and that’s why you should try it!