Browse Source

removed error debug

deiu 5 years ago
parent
commit
47015dce9a
1 changed files with 0 additions and 2 deletions
  1. 0 2
      smtp.go

+ 0 - 2
smtp.go

@@ -3,7 +3,6 @@ package gold
 import (
 	"crypto/tls"
 	"fmt"
-	"log"
 	"net/mail"
 	"net/smtp"
 	"strconv"
@@ -95,7 +94,6 @@ func (s *Server) sendMail(email *EmailStruct) {
 		message += fmt.Sprintf("%s: %s\r\n", k, v)
 	}
 	message += "\r\n" + email.Body
-	log.Printf("%+v\n", message)
 
 	if len(smtpCfg.Host) > 0 && smtpCfg.Port > 0 && auth != nil {
 		smtpServer := smtpCfg.Host + ":" + strconv.Itoa(smtpCfg.Port)