Description

Base64 represents the base64 encoding as defined in RFC 2045.

Examples

	m.applySettings(settings)

	if m.encoding == Base64 {
		m.hEncoder = bEncoding
	} else {

func TestCustomMessage(t *testing.T) {
	m := NewMessage(SetCharset("ISO-8859-1"), SetEncoding(Base64))
	m.SetHeaders(map[string][]string{
		"From":    {"[email protected]"},

func TestBase64LineLength(t *testing.T) {
	m := NewMessage(SetCharset("UTF-8"), SetEncoding(Base64))
	m.SetHeader("From", "[email protected]")
	m.SetHeader("To", "[email protected]")

Base64 is referenced in 1 repository

github.com/go-gomail/gomail