From 90a7e20be45d6f5a416d3199a3734f206c86236d Mon Sep 17 00:00:00 2001 From: hang <872297557@qq.com> Date: Mon, 22 Dec 2025 14:04:03 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E9=82=AE=E4=BB=B6?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- IRaCIS.Core.Application/Helper/Email/SendEmailHelper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IRaCIS.Core.Application/Helper/Email/SendEmailHelper.cs b/IRaCIS.Core.Application/Helper/Email/SendEmailHelper.cs index 211665302..b87896b90 100644 --- a/IRaCIS.Core.Application/Helper/Email/SendEmailHelper.cs +++ b/IRaCIS.Core.Application/Helper/Email/SendEmailHelper.cs @@ -71,7 +71,7 @@ public static class SendEmailHelper if (fromAddress != null) { messageToSend.From.Clear(); - messageToSend.From.Add(new MailboxAddress(trial.EmailFromName, trial.EmailSMTPServerAddress)); + messageToSend.From.Add(new MailboxAddress(trial.EmailFromName, trial.EmailFromEmail)); } From 3bedea2aba8242d3cb5e1d4e3758a1d3dfbd55e5 Mon Sep 17 00:00:00 2001 From: hang <872297557@qq.com> Date: Mon, 22 Dec 2025 16:02:30 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=82=AE=E4=BB=B6?= =?UTF-8?q?=E9=BB=98=E8=AE=A4=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- IRaCIS.Core.Application/Service/TrialSiteUser/TrialService.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/IRaCIS.Core.Application/Service/TrialSiteUser/TrialService.cs b/IRaCIS.Core.Application/Service/TrialSiteUser/TrialService.cs index 517ae4324..a7182f8af 100644 --- a/IRaCIS.Core.Application/Service/TrialSiteUser/TrialService.cs +++ b/IRaCIS.Core.Application/Service/TrialSiteUser/TrialService.cs @@ -252,6 +252,7 @@ namespace IRaCIS.Core.Application.Service trial.EmailFromName = $"{_systemEmailConfig.FromName}-{trial.TrialCode}"; trial.EmailSMTPServerAddress = _systemEmailConfig.Host; trial.EmailSMTPServerPort = _systemEmailConfig.Port; + trial.IsConfigureEmail = true; #endregion //如果是PM, 则需要将该人员添加到 运维人员表