[MM-15661] Create SendNotificationEmail and move config option check to it (#11478)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
2f9d509284
Коммит
8a13c9d1d5
@@ -620,7 +620,7 @@ func (api *PluginAPI) SendMail(to, subject, htmlBody string) *model.AppError {
|
||||
return model.NewAppError("SendMail", "plugin_api.send_mail.missing_htmlbody", nil, "", http.StatusBadRequest)
|
||||
}
|
||||
|
||||
return api.app.SendMail(to, subject, htmlBody)
|
||||
return api.app.SendNotificationMail(to, subject, htmlBody)
|
||||
}
|
||||
|
||||
// Plugin Section
|
||||
|
||||
Ссылка в новой задаче
Block a user