How can I create dynamic html table in smtp activity in body property

activities
studio

#1

Hi,
I want to create dynamic html table in smtp cativity body property.
Is there any solution for same??

Thanks,
@Sam


#2

this will give some idea to u . you have to create your email content and pass it as a variable


#3

Thanks for replying @sara_s ,

you give suggestion is right but I want to apply in smtp activity inside body property,
the body property is only support string format.

like:-


#4

@sams You can use “isbodyhtml” property of send smtp mail activity. Go through below link for more info: https://activities.uipath.com/docs/send-mail


#5

@sams,Place your content in notepad file and insert place placeholders for dynamically changing text.
Use read text file and it gives string output and provide it in mail body and use string.Format function to change the text dynamically

Refer this video from 12.00 min for more information https://www.uipath.com/tutorials/email-automation