I have C# code that sends an email. In the body of the email i want to send contents of an excel sheet.
One way to do this is create html table with html rows for every record in the excel file and embed this html code in the body of the email.
Is there any simpler way to do this? Something where i can just specify the path of the excel sheet and directly the table would be copied in the email body?
Thanks.