feat: 增加sendcloud邮件服务器的支持 (#947)

* 增加sendcloud邮件服务器的支持

* 调整代码结构

* Used slince.Contains function

---------

Co-authored-by: shih <shih@knownsec.com>
This commit is contained in:
han shi
2025-04-25 18:17:46 +08:00
committed by GitHub
parent b16c05ead4
commit a0017f2235
3 changed files with 7 additions and 2 deletions
+4
View File
@@ -62,6 +62,10 @@ var EmailDomainWhitelist = []string{
"yahoo.com",
"foxmail.com",
}
var EmailLoginAuthServerList = []string{
"smtp.sendcloud.net",
"smtp.azurecomm.net",
}
var DebugEnabled bool
var MemoryCacheEnabled bool