Attaching an HTML table as attached to Send Exchange Message activity?

Hi Everyone,

I need help . The situation is I need to send an html table using the activity Send Exchange Mail Message for visualization and it should be attach also in the mail. Is there a way to do that?

Thanks!

Hi Alvin,

Is the table already in HTML format, or currently in a datatable format?

Cheers,
Josh

Its already in HTML format after I used the Datatable to html activity

Hi Alvin,

In this case, you’ll just need to tick “IsBodyHtml” on the Send Exchange Mail activity, and place the output from the Datatable To HTML activity in here. Or by “it should be attach also in the mail” do you mean you want it saved as a HTML file, and this file being attached to the email?

Cheers,
Josh

1 Like

yes Also need to attach it in that exchange mail message

Use “write text file” activity to save it - put filename as path IE “C:\Temp\FILENAME.html”, and put the text as the output from Datatable to HTML.

Then add this file path as an input on the attachments for Exchange Send Email.

Cheers,
Josh

2 Likes

Hi Josh,

Thanks for your help . I got the concept now