update
This commit is contained in:
@@ -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 != "" {
|
||||
|
||||
Reference in New Issue
Block a user