Procházet zdrojové kódy

Quick bugfix to make the text work

Jordan před 11 roky
rodič
revize
fa5e253c85
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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
 			}
 		}