Merge branch 'develop' into add-gosimple

This commit is contained in:
astaxie
2017-03-18 11:20:30 +08:00
committed by GitHub
9 changed files with 27 additions and 31 deletions

View File

@@ -102,7 +102,7 @@ func (s *SMTPWriter) sendMail(hostAddressWithPort string, auth smtp.Auth, fromAd
if err != nil {
return err
}
_, err = w.Write([]byte(msgContent))
_, err = w.Write(msgContent)
if err != nil {
return err
}