Is it possible to send a table (coded in html) as the body of an email so that the recipient is able to view the table (parsed and displayed).
For example, I want to be
You can not directly use HTML
or Body
tag when you embedding HTML in c#
string as it already going to display inside HTML
Page. Below is a simple table format.
body += ""
body += ""
body += " Name : "
body += "" + Name + " "
body += " "
body += ""
body += " Application ID : "
body += "" + ApplicationID + " "
body += " "
body += ""
body += " Passport No : "
body += "" + PassportNo + " "
body += " "
body += ""
body += " Voucher No. : "
body += "" + VoucherNo + " "
body += " "
body += ""
body += " Date : "
body += "" + PDate + " "
body += " "
body += "
"
You can also do styling like below
Example
body+="Hello World! "