Hello Dojo,
I am currently working on an automation script which creates a scheduler task that sends an email with an attached dashboard report.
What I wanted to know if it is possible to send in the body of the email a certain HTML block of code which will then be nicely parsed for the receiver of the said e-mail?
Thank you.
Hi Filip,
It is possible to use HTML in the email body, either directly in the Message field of the Email action or through C# code, e.g. with method SendEmail.
As a quick example, adding this HTML content to the Message field of a scheduler task's Email action gets you an email like in the picture attached:
Line 1<br/>Line 2<br/><table><tr><td>Something1</td><td>Something2</td></tr><tr><td>Something3</td><td>Something4</td></tr></table>
Do note that HTML content in an email body is limited in terms of functionality, as mentioned in this Dojo question: https://community.dataminer.services/question/get-dashboard-inline-in-mail/.