- Azure Serverless Computing Cookbook
- Praveen Kumar Sreeram
- 79字
- 2021-07-02 20:23:09
There's more...
You can also send HTML content in the body to make your email more attractive. The following is a simple example, where I just applied bold (<b>) tag to the name of the end user:
message.From = new Email("donotreply@example.com");
message.AddContent(new Content("text/html","Thank you <b>" + firstname + " " + lastname +"</b> so much for getting registered to our site."));
Personalization personalization = new Personalization();
The following is the screenshot of the email with my name in bold:

推薦閱讀
- Java程序設計與開發(fā)
- SpringMVC+MyBatis快速開發(fā)與項目實戰(zhàn)
- 自己動手實現Lua:虛擬機、編譯器和標準庫
- PHP 7底層設計與源碼實現
- Vue.js快跑:構建觸手可及的高性能Web應用
- 三維圖形化C++趣味編程
- MySQL 8 DBA基礎教程
- 鋒利的SQL(第2版)
- ASP.NET 3.5程序設計與項目實踐
- KnockoutJS Starter
- Learning Apache Karaf
- Clojure for Machine Learning
- Machine Learning for Developers
- Node.js區(qū)塊鏈開發(fā)
- Android 5從入門到精通