update
This commit is contained in:
@@ -37,8 +37,6 @@ func SendEmail(to []string, cc []string, name, subject, message, htmlString stri
|
|||||||
body := htmlString
|
body := htmlString
|
||||||
messages := []byte(sender + subjectt + mime + body)
|
messages := []byte(sender + subjectt + mime + body)
|
||||||
|
|
||||||
fmt.Println("cek env smtp", Mail())
|
|
||||||
|
|
||||||
auth := smtp.PlainAuth("", Mail().AuthEmail, Mail().AuthPassword, Mail().SMTPHost)
|
auth := smtp.PlainAuth("", Mail().AuthEmail, Mail().AuthPassword, Mail().SMTPHost)
|
||||||
smtpAddr := fmt.Sprintf("%s:%d", Mail().SMTPHost, Mail().SMTPPort)
|
smtpAddr := fmt.Sprintf("%s:%d", Mail().SMTPHost, Mail().SMTPPort)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user