Notifications: fix reply-to option for emails (#25748)

This commit is contained in:
Agnès Toulet authored and GitHub committed 2020-06-22 18:56:49 +02:00
1 parent 703f728c0c
commit b5b019dfcf
2 files changed
+2

No files matched your search

+1
View File
@@ -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 {