Send outlook email with datatable

attach data table in mail in send outlook mail message activity


Welcome to our UiPath community.

Use Output DataTable Activity to convert DataTable into String and then pass that String into Mail body.

If you want table borders then check below thread.


I want the mail which is sent to be like this

and the input excel file which I have is like this

please help


In the below thread I attached one example xaml file. Please check it and try same steps.


I am using the the link you attached. Is there anyway to play with its font size? Because I made it work but the font of the Datatable and values inside are enormous.

1 Like