summaryrefslogtreecommitdiffstats
path: root/vendor/gopkg.in/gomail.v2/mime.go
blob: 51cba724b677522cbfa4c5b79db496ecb2430627 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// +build go1.5

package gomail

import (
	"mime"
	"mime/quotedprintable"
)

var newQPWriter = quotedprintable.NewWriter

type mimeEncoder struct {
	mime.WordEncoder
}

var (
	bEncoding = mimeEncoder{mime.BEncoding}
	qEncoding = mimeEncoder{mime.QEncoding}
)