- 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:

推薦閱讀
- Spring 5.0 Microservices(Second Edition)
- 體驗設計原理:行為、情感和細節
- Groovy for Domain:specific Languages(Second Edition)
- Yocto for Raspberry Pi
- Expert Data Visualization
- R Data Analysis Cookbook(Second Edition)
- Python 3.7從入門到精通(視頻教學版)
- Python Interviews
- 自學Python:編程基礎、科學計算及數據分析(第2版)
- Penetration Testing with the Bash shell
- PhoneGap 4 Mobile Application Development Cookbook
- Mastering Android Studio 3
- 計算機應用基礎(第二版)
- Kotlin語言實例精解
- PHP從入門到精通(第7版)