📜  system.net.mail 发送 html 消息 - C# 代码示例

📅  最后修改于: 2022-03-11 14:49:02.641000             🧑  作者: Mango

代码示例1
msg = new MailMessage("xxxx@gmail.com",
                "yyyy@gmail.com", "Message from PSSP System",
                "This email sent by the PSSP system
" + "this is bold text!"); msg.IsBodyHtml = true;