go-mail/encoding.go

16 lines
463 B
Go
Raw Normal View History

2022-03-09 16:52:23 +01:00
package mail
// Encoding represents a MIME encoding scheme like quoted-printable or base64.
type Encoding string
const (
// EncodingB64 represents the Base64 encoding as specified in RFC 2045.
EncodingB64 Encoding = "base64"
// EncodingQP represents the "quoted-printable" encoding as specified in RFC 2045.
EncodingQP Encoding = "quoted-printable"
// NoEncoding avoids any character encoding (except of the mail headers)
NoEncoding Encoding = "8bit"
)