How to display the datatable in mail body
1 Like
Use Output DataTable activity and convert that DataTable into string and pass that string into mail body to write into it.
Will it look like table with data in it
I need it with border
You need to format a string with html table tags with your datatable data, then by enabling IsBodyHtml as true in the mail, you can send the mail with Html table format as a html email message.
https://go.uipath.com/component/datatable-to-html-conversion
check this link to convert the datatable to html table.
1 Like