From e4dc458b3e6ef64e480ae1e2714c642e49cb2924 Mon Sep 17 00:00:00 2001 From: Willy Kloucek Date: Mon, 26 Sep 2022 08:25:01 +0200 Subject: [PATCH] remove extra <> --- services/notifications/pkg/channels/channels.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/notifications/pkg/channels/channels.go b/services/notifications/pkg/channels/channels.go index a86fff60d9..1003c45989 100644 --- a/services/notifications/pkg/channels/channels.go +++ b/services/notifications/pkg/channels/channels.go @@ -118,7 +118,7 @@ func (m Mail) SendMessage(userIDs []string, msg, subject, senderDisplayName stri email := mail.NewMSG() if senderDisplayName != "" { - email.SetFrom(fmt.Sprintf("%s via owncloud <%s>", senderDisplayName, m.conf.Notifications.SMTP.Sender)).AddTo(to...) + email.SetFrom(fmt.Sprintf("%s via %s", senderDisplayName, m.conf.Notifications.SMTP.Sender)).AddTo(to...) } else { email.SetFrom(m.conf.Notifications.SMTP.Sender).AddTo(to...) }