mirror of
https://github.com/grafana/grafana.git
synced 2025-02-16 18:34:52 -06:00
Notifications: fix reply-to option for emails (#25748)
This commit is contained in:
parent
703f728c0c
commit
b5b019dfcf
@ -183,6 +183,7 @@ func (ns *NotificationService) buildEmailMessage(cmd *models.SendEmailCommand) (
|
||||
Body: buffer.String(),
|
||||
EmbeddedFiles: cmd.EmbeddedFiles,
|
||||
AttachedFiles: buildAttachedFiles(cmd.AttachedFiles),
|
||||
ReplyTo: cmd.ReplyTo,
|
||||
}, nil
|
||||
}
|
||||
|
||||
|
@ -126,6 +126,7 @@ func (ns *NotificationService) sendEmailCommandHandlerSync(ctx context.Context,
|
||||
SingleEmail: cmd.SingleEmail,
|
||||
EmbeddedFiles: cmd.EmbeddedFiles,
|
||||
Subject: cmd.Subject,
|
||||
ReplyTo: cmd.ReplyTo,
|
||||
})
|
||||
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user