From d3e93c7c7bc98e38c6e46b7476cf84e4262b817a Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Mon, 23 Mar 2020 22:43:15 +0800 Subject: [PATCH 1/3] =?UTF-8?q?doc:=20=E6=9B=B4=E6=96=B0=E6=8D=90=E5=8A=A9?= =?UTF-8?q?=E4=BA=8C=E7=BB=B4=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.zh-CN.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.zh-CN.md b/README.zh-CN.md index 81b228d9..f78f154e 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -203,4 +203,4 @@ docker pull reg.qiniu.com/argozhang/ba 如果这个项目对您有所帮助,请扫下方二维码打赏一杯咖啡。 -![WeChat](https://images.gitee.com/uploads/images/2020/0320/201944_4a11eb88_554725.png "微信扫码") +![WeChat](https://images.gitee.com/uploads/images/2020/0323/223954_3533f4ca_554725.png "微信扫码") From f9937cd32c3271179e441375ea741515f7e9292d Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Thu, 26 Mar 2020 18:55:45 +0800 Subject: [PATCH 2/3] =?UTF-8?q?doc:=20=E6=9B=B4=E6=96=B0=E4=BA=8C=E7=BB=B4?= =?UTF-8?q?=E7=A0=81=E5=A4=A7=E5=B0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.zh-CN.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.zh-CN.md b/README.zh-CN.md index f78f154e..d11a3097 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -203,4 +203,4 @@ docker pull reg.qiniu.com/argozhang/ba 如果这个项目对您有所帮助,请扫下方二维码打赏一杯咖啡。 -![WeChat](https://images.gitee.com/uploads/images/2020/0323/223954_3533f4ca_554725.png "微信扫码") +![WeChat](https://images.gitee.com/uploads/images/2020/0326/184932_91b9baf4_554725.png "微信扫码") From 23c20628d9f231d0b5baecfa0dd03424025cf3a9 Mon Sep 17 00:00:00 2001 From: Argo-PD Date: Fri, 27 Mar 2020 12:52:20 +0800 Subject: [PATCH 3/3] =?UTF-8?q?refactor:=20=E7=A7=BB=E9=99=A4=20MailClient?= =?UTF-8?q?=20=E9=85=8D=E7=BD=AE=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #Comment 测试邮件与正式邮件配置项使用同一个 --- .../Bootstrap.Client/Controllers/ToolsController.cs | 4 ++-- src/client/Bootstrap.Client/appsettings.json | 8 -------- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/src/client/Bootstrap.Client/Controllers/ToolsController.cs b/src/client/Bootstrap.Client/Controllers/ToolsController.cs index c60406c8..cb4cdc39 100644 --- a/src/client/Bootstrap.Client/Controllers/ToolsController.cs +++ b/src/client/Bootstrap.Client/Controllers/ToolsController.cs @@ -1,4 +1,4 @@ -using System.Threading.Tasks; +using System.Threading.Tasks; using Bootstrap.Client.Extensions; using Bootstrap.Client.Models; using Longbow.Data; @@ -51,7 +51,7 @@ namespace Bootstrap.Client } else { - var section = config.GetSection("MailClient"); + var section = config.GetSection("SmtpClient"); var smtpHost = section.GetValue("Host", "smtp.163.com"); var password = section.GetValue("Password", ""); var from = section.GetValue("From", ""); diff --git a/src/client/Bootstrap.Client/appsettings.json b/src/client/Bootstrap.Client/appsettings.json index 26ecb2e5..a021ec13 100644 --- a/src/client/Bootstrap.Client/appsettings.json +++ b/src/client/Bootstrap.Client/appsettings.json @@ -56,14 +56,6 @@ "From": "honeywell_mes@163.com", "To": "argo@163.com" }, - "MailClient": { - "Host": "smtp.exmail.qq.com", - "Port": 587, - "EnableSsl": true, - "Password": "", - "From": "ba-support@dsnixi.com", - "To": "argo@163.com" - }, "AllowOrigins": "http://localhost,http://argo.zylweb.cn", "LongbowCache": { "Enabled": true,