diff --git a/app/mail-config.go b/app/mail-config.go index 377daa3..26a4d31 100644 --- a/app/mail-config.go +++ b/app/mail-config.go @@ -37,8 +37,6 @@ func SendEmail(to []string, cc []string, name, subject, message, htmlString stri body := htmlString messages := []byte(sender + subjectt + mime + body) - fmt.Println("cek env smtp", Mail()) - auth := smtp.PlainAuth("", Mail().AuthEmail, Mail().AuthPassword, Mail().SMTPHost) smtpAddr := fmt.Sprintf("%s:%d", Mail().SMTPHost, Mail().SMTPPort)