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

推薦閱讀
- C# 7 and .NET Core Cookbook
- 前端跨界開發(fā)指南:JavaScript工具庫原理解析與實(shí)戰(zhàn)
- Android 7編程入門經(jīng)典:使用Android Studio 2(第4版)
- Blockly創(chuàng)意趣味編程
- 機(jī)械工程師Python編程:入門、實(shí)戰(zhàn)與進(jìn)階
- 編譯系統(tǒng)透視:圖解編譯原理
- Python機(jī)器學(xué)習(xí)編程與實(shí)戰(zhàn)
- Regression Analysis with Python
- Python Web自動(dòng)化測試設(shè)計(jì)與實(shí)現(xiàn)
- Julia High Performance(Second Edition)
- Mobile Forensics:Advanced Investigative Strategies
- After Effects CC技術(shù)大全
- 程序員必會(huì)的40種算法
- Java RESTful Web Service實(shí)戰(zhàn)
- Ubuntu Server Cookbook