PMP项目数据对接;邮箱测试

This commit is contained in:
2025-03-31 18:43:58 +08:00
parent 4abca1fa1c
commit 175660e4c8
13 changed files with 1090 additions and 472 deletions
+2 -1
View File
@@ -102,7 +102,8 @@ namespace BLL
MailMessage mail = new MailMessage();
//邮件主题
mail.Subject = $"关键事项超期预警提醒——{projectName}";
mail.To.Add(user.Email);
//mail.To.Add(user.Email);
mail.To.Add("1784803958@qq.com");
mail.IsBodyHtml = true;//确保邮件正文被当作HTML解析
StringBuilder tbodyStr = new StringBuilder();