From 7bc0d7f3dcafcba177bd1f28929ea635c5da0b49 Mon Sep 17 00:00:00 2001 From: he <109787524@qq.com> Date: Fri, 29 May 2026 11:02:24 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=9F=E8=83=BD=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Helper/Email/SendEmailHelper.cs | 2 +- .../IRaCIS.Core.Application.xml | 16 +++++++++++++--- 2 files changed, 14 insertions(+), 4 deletions(-) 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 @@ - 质疑 + ���� - 一致性核查 + һ���Ժ˲� - 复制 + ����