mirror of
https://github.com/YFGaia/dify-plus.git
synced 2026-06-12 18:11:42 +08:00
fix: 调用第三方邮箱 API和镜像修改
This commit is contained in:
@@ -747,7 +747,7 @@ func (e *SystemIntegratedService) callEmailApi(
|
||||
mailList = append(mailList, email)
|
||||
parts := strings.Split(email, "@")
|
||||
defaultMail := os.Getenv(gaia.EmailDomainEnv)
|
||||
if len(defaultMail) > 0 && len(parts) > 1 && len(parts[0]) > 0 {
|
||||
if len(defaultMail) > 1 && len(parts) > 1 && len(parts[0]) > 0 {
|
||||
mailList = append(mailList, parts[0]+"@"+defaultMail)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user