summaryrefslogtreecommitdiffstats
path: root/app/email_batching.go
diff options
context:
space:
mode:
Diffstat (limited to 'app/email_batching.go')
-rw-r--r--app/email_batching.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/email_batching.go b/app/email_batching.go
index bdacc65f5..ba26b0f98 100644
--- a/app/email_batching.go
+++ b/app/email_batching.go
@@ -241,7 +241,7 @@ func (a *App) sendBatchedEmailNotification(userId string, notifications []*batch
body.Props["Posts"] = template.HTML(contents)
body.Props["BodyText"] = translateFunc("api.email_batching.send_batched_email_notification.body_text", len(notifications))
- if err := utils.SendMail(user.Email, subject, body.Render()); err != nil {
+ if err := a.SendMail(user.Email, subject, body.Render()); err != nil {
l4g.Warn(utils.T("api.email_batchings.send_batched_email_notification.send.app_error"), user.Email, err)
}
}