Эх сурвалжийг харах

Quick bugfix to make the text work

Jordan 11 жил өмнө
parent
commit
fa5e253c85
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  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
 			}
 		}