Merge branch 'Test_IRC_Net8' of https://gitea.frp.extimaging.com/XCKJ/irc-netcore-api into Test_IRC_Net8
continuous-integration/drone/push Build is passing Details

Test_IRC_Net8
he 2025-12-23 09:26:49 +08:00
commit e113bc9fe1
2 changed files with 2 additions and 1 deletions

View File

@ -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));
}

View File

@ -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 则需要将该人员添加到 运维人员表