diff --git a/IRaCIS.Core.Application/Helper/Email/SendEmailHelper.cs b/IRaCIS.Core.Application/Helper/Email/SendEmailHelper.cs index 832413e88..9a5ba0b5a 100644 --- a/IRaCIS.Core.Application/Helper/Email/SendEmailHelper.cs +++ b/IRaCIS.Core.Application/Helper/Email/SendEmailHelper.cs @@ -174,7 +174,7 @@ public static class SendEmailHelper ReplaceHtmlContent(part, replacements); } } - else if (entity is TextPart textPart && textPart.ContentType.MediaType == "text/html") + else if (entity is TextPart textPart && textPart.IsHtml) { // 只有这里才是真正的 HTML foreach (var kv in replacements) diff --git a/IRaCIS.Core.Application/IRaCIS.Core.Application.xml b/IRaCIS.Core.Application/IRaCIS.Core.Application.xml index 7ceebbdd4..e5cf503de 100644 --- a/IRaCIS.Core.Application/IRaCIS.Core.Application.xml +++ b/IRaCIS.Core.Application/IRaCIS.Core.Application.xml @@ -16319,6 +16319,16 @@ + + + 发送项目邮件 + + + + + + + 镜像里面打入libreoffice 的方案 @@ -17484,17 +17494,17 @@ - 质疑 + ���� - 一致性核查 + һ���Ժ˲� - 复制 + ����