Browse Source

Quick bugfix to make the text work

Jordan 11 years ago
parent
commit
fa5e253c85
1 changed files with 1 additions and 1 deletions
  1. 1 1
      email.go

+ 1 - 1
email.go

@@ -110,7 +110,7 @@ func (e *Email) Bytes() ([]byte, error) {
 			header.Set("Content-Transfer-Encoding", "quoted-printable")
 			subWriter.CreatePart(header)
 			// Write the text
-			if err := quotePrintEncode(buff, e.Html); err != nil {
+			if err := quotePrintEncode(buff, e.Text); err != nil {
 				return nil, err
 			}
 		}