Datatable in mail

How to display the datatable in mail body

1 Like

@Sweety_Girl

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

@Sweety_Girl

Yes it will look like table but it is without table borders.

I need it with border

@Sweety_Girl,

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

@Sweety_Girl

Please check below thread.

1 Like