Table format create in Email body

After typing in the body part of the mail activity as in the screenshot

you should select IsBodyHtml from the properties of the activity

1 Like

The code is same whatever you sent me. I am executing that file only.

I am also facing the same problem. Signature of the mail is also getting formatted. Can someone please help me on this.

Hey, Did you got the answer ? I am still struggling. Please help on this.

Hi @PALKUMARI_PATEL - Did you try with Create HTML content activity, it has a option to add table

Hi @ushu I did not tried yet . Can you help me to create a table and use it in Email body ? I am getting table but also table is created in Signatures and the name .

Can you help me here to put the data in from the different table .

Flow Is :
Read excel data
Process each row from excel on website
Put the processed data into Data table (Build Data TB ) If success or failed .
Get those DT and send in email by creating table format.

Column 1 : ID , Column 2 : NAme, Column 3 : Status : Sucees or failed.

Can someone help to achieve this ? FYI - just need help on email table creation and put the values in.
I created DB by build data tb and able to store values there.

Hi @PALKUMARI_PATEL - Since the data is in data table, you just have to pass that data as a table in an email, you can do this with the below workflow

DataTableToHtml.xaml (13.2 KB)

  1. Call this in your workflow
  2. Pass the data table as an input argument to this workflow
  3. The output from this argument you can call in your email body
  4. I’m assuming you’re using Send SMTP Mail Message activity to send an email, if so make sure you check Is Body HTML option

Picture2

Hi @ushu I am using EmAil Body String variable to pass the table and the data. That way I can get it but only thing is also getting table in signature at last of the email. I just want the table created for data only.

image