diff --git a/helper/helper.go b/helper/helper.go index 2b395bd..d2923c6 100644 --- a/helper/helper.go +++ b/helper/helper.go @@ -81,7 +81,8 @@ func SendEmail(to []string, cc []string, name, subject, message, htmlString stri body := htmlString emailTo := "To:" + strings.Join(to, ",") + "\n" emailCC := "Cc: " + strings.Join(cc, ",") + "\n" - messages := []byte(sender + emailTo + emailCC + subjectt + mime + body) + ReplyTo := "Reply-To: " + config.Mail().AuthEmail + "\n" + messages := []byte(sender + emailTo + emailCC + ReplyTo + subjectt + mime + body) for _, v := range cc { if v != "" {