Versions in this module Expand all Collapse all v1 v1.0.2 May 17, 2021 Changes in this version + func QP_Encode(s string) string + func Q_Encode(s string) string + func Write(p MIMEPart, buf *bytes.Buffer) + type Address struct + Email string + Name string + func ToAddress(s string) Address + func (a *Address) String() string + type MIMEAlternative struct + func (m *MIMEAlternative) AddPart(p MIMEPart) + func (m *MIMEAlternative) InitBoundary() + func (m MIMEAlternative) ContentTransferEncoding() string + func (m MIMEAlternative) ContentType() string + func (m MIMEAlternative) EncodedBody() []byte + func (m MIMEAlternative) Headers() map[string]string + type MIMEBinary struct + AdditionalHeaders map[string]string + Body []byte + Type string + func (b MIMEBinary) ContentTransferEncoding() string + func (b MIMEBinary) ContentType() string + func (b MIMEBinary) EncodedBody() []byte + func (b MIMEBinary) Headers() map[string]string + type MIMEHTML string + func (m MIMEHTML) ContentTransferEncoding() string + func (m MIMEHTML) ContentType() string + func (m MIMEHTML) EncodedBody() []byte + func (m MIMEHTML) Headers() map[string]string + type MIMEMixed struct + func (m *MIMEMixed) AddPart(p MIMEPart) + func (m *MIMEMixed) InitBoundary() + func (m MIMEMixed) ContentTransferEncoding() string + func (m MIMEMixed) ContentType() string + func (m MIMEMixed) EncodedBody() []byte + func (m MIMEMixed) Headers() map[string]string + type MIMEPart interface + ContentTransferEncoding func() string + ContentType func() string + EncodedBody func() []byte + Headers func() map[string]string + type MIMEPlain string + func (s MIMEPlain) ContentTransferEncoding() string + func (s MIMEPlain) ContentType() string + func (s MIMEPlain) EncodedBody() []byte + func (s MIMEPlain) Headers() map[string]string + type MIMERelated struct + func (m *MIMERelated) AddPart(p MIMEPart) + func (m *MIMERelated) InitBoundary() + func (m MIMERelated) ContentTransferEncoding() string + func (m MIMERelated) ContentType() string + func (m MIMERelated) EncodedBody() []byte + func (m MIMERelated) Headers() map[string]string + type Message struct + BCC []Address + CC []Address + Content MIMEPart + From Address + Headers map[string]string + Subject string + To []Address + func (m *Message) AllRecipients() []string + func (m *Message) Send(config SMTPConfig) error + func (m *Message) String() []byte + type SMTPConfig struct + Password string + Port string + Server string + Username string + func (config SMTPConfig) GetSMTPAuth() smtp.Auth