From 266e330a213c7cb9f1f3339b29111c431190d331 Mon Sep 17 00:00:00 2001 From: Suphonchai Phoonsawat Date: Mon, 16 Oct 2023 17:54:38 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=81=E0=B8=81=E0=B9=89=E0=B8=8A=E0=B8=B7?= =?UTF-8?q?=E0=B9=88=E0=B8=AD=20email?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BMA.EHR.Application/Messaging/EmailSenderService.cs | 2 +- BMA.EHR.Application/Repositories/Commands/CommandRepository.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/BMA.EHR.Application/Messaging/EmailSenderService.cs b/BMA.EHR.Application/Messaging/EmailSenderService.cs index 02a9195a..c02670bb 100644 --- a/BMA.EHR.Application/Messaging/EmailSenderService.cs +++ b/BMA.EHR.Application/Messaging/EmailSenderService.cs @@ -42,7 +42,7 @@ namespace BMA.EHR.Application.Messaging var mail = new MailMessage(); - mail.From = new MailAddress(from, "eHR Bangkok Automation System"); + mail.From = new MailAddress(from, "ระบบบริหารทรัพยากรบุคคลของกรุงเทพมหานคร"); mail.To.Add(receiver); mail.Subject = subject; mail.Body = body; diff --git a/BMA.EHR.Application/Repositories/Commands/CommandRepository.cs b/BMA.EHR.Application/Repositories/Commands/CommandRepository.cs index 8ba19a0d..e874083e 100644 --- a/BMA.EHR.Application/Repositories/Commands/CommandRepository.cs +++ b/BMA.EHR.Application/Repositories/Commands/CommandRepository.cs @@ -73,7 +73,7 @@ namespace BMA.EHR.Application.Repositories.Commands public void SendMail() { - _emailSenderService.SendMail("test", "test", "suphonchai@frappet.com"); + _emailSenderService.SendMail("Test Send Email", "ทดสอบส่งเมล์", "suphonchai.ph@gmail.com"); } #region " Private "