I have a requirement where I need to read the data from excel and send that content in a email. How can I achieve this without loosing the table structures. Can somebody please help me on this.
Read the excel file and stored in datatable output
Used output datatable activity and stored the output into string variable
Used this string varaible into email message body but I see the format of the table will go with this approach.
Hi @vishal.kumar , I am trying to send an email that includes a table as well as regular text. How can I add a new line within the body of the email? Usually with Environment.NewLine it will give you a new line, however, I cannot do this when IsBodyHtml is checked off. I want to include space between my text and the excel table but with IsBodyHtml checked it ignores Environment.NewLine within the body and the email is all compressed.
Can Do! when IsBodyHtml is checked we can use br / directly in the string to add a new line. (if you try that in the forums with the brackets it actually works here too!)