소스 검색

Quick bugfix to make the text work

Jordan 11 년 전
부모
커밋
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
 			}
 		}