Table format create in Email body

Can someone help e to create below table while forwarding an email using Exchange server.

Currently I am using String while forwarding an email.



You can use “Create HTML Content” activity to create the HTML table

Create HTML Content (

In the Output HTML, replace the arguments {0}, {1} etc. with real values.

you can also use, String.Format method to replace all the arguments

VB.NET String.Format Examples: String and Integer - Dot Net Perls

In the exchange email activity, please mark IsBodyHTML checkbox


Create_HTML_Content.xaml (7.1 KB)
HTML_Ouput.txt (1.7 KB)


1 Like

Click where you want to insert a table in your message.
Click Insert > Table.
Do one of the following: Click the table grid to set the number of rows and columns in a new empty table. Click Insert Table for a basic table template.


I don’t know how this will work ? Can you explore in detail ?

Hey @johnfelix not able to get it in right way.

Your file is not found saying uipath HTML Content activity. What to write in open editor section ?

Also I am not getting table in Email , It is writing HTML Script in email

Please advice.

you want to convert datatable to HTML DataTable?

Hi @raja.arslankhan I want to put a table as shown in query , in the email body format.

ok, you have no datatable?

can you tell me where you are getting data, have you send me sample data

I don’t know what you mean by datatable but I don’t have any. Just need this to be inserted in email body.
and some texts strings also.

@PALKUMARI_PATEL ok got it wait I am sending you sample code.

Hi @raja.arslankhan can you send me sample code ? It’s an urgent.


You can use Create HTML content activity to add the datatable to the mail body.


1 Like

Hi ,

Can you share the sample flow with my query ? I tried but not getting desired output.
IF you share , it will be a big help.


@PALKUMARI_PATEL sorry I did not get enough time, your problem solved or not.


Check with this package

You can try with this package

You need to give your excel path and the sheet name the activity will convert the excel data as string with the table format and store it in a string variable

You can use this string variable in the the body of the email activity and the table will be availble in the body

Hope this Helps


Thank you but I don’t want to convert Excel to HTML.
I want to add the below table format in my email body with some texts.


Thank You

Hi @raja.arslankhan Thank you for responding back. MY issue still not resolved.

If you can send me an sample flow it will be great help.

Thank You

@PALKUMARI_PATEL Yeah I am developing for you

1 Like

please try this one,

EmailBody.xaml (12.6 KB)

in last you can use String.Format to replace variables.