PLT-1607 adding more debugging info for email and push notifications
Этот коммит содержится в:
@@ -98,6 +98,7 @@ func SendMail(to, subject, body string) *model.AppError {
|
||||
}
|
||||
|
||||
func SendMailUsingConfig(to, subject, body string, config *model.Config) *model.AppError {
|
||||
l4g.Debug("sending mail to " + to + " with subject of '" + subject + "'")
|
||||
|
||||
if !config.EmailSettings.SendEmailNotifications || len(config.EmailSettings.SMTPServer) == 0 {
|
||||
return nil
|
||||
|
||||
Ссылка в новой задаче
Block a user