Azure Serverless Computing Cookbook
上QQ阅读APP看书,第一时间看更新

There's more...

You can also send HTML content in the body to make your email look more attractive. The following is a simple example, where I have just applied a bold (<b>) tag to the name of the end user:


message.AddContent("text/html", "Thank you <b>" + FirstName + "</b><b> " + LastName +" </b>so much for getting registered to our site.");

The following is the screenshot of the email, with my name in bold: