Versions in this module Expand all Collapse all v1 v1.0.0 Jun 10, 2019 Changes in this version + const MaxLineLength + type Attachment struct + Content []byte + Filename string + Header textproto.MIMEHeader + type Email struct + Attachments []*Attachment + Bcc []string + Cc []string + From string + HTML []byte + Headers textproto.MIMEHeader + ReadReceipt []string + Subject string + Text []byte + To []string + func NewEmail() *Email + func (e *Email) Attach(r io.Reader, filename string, c string) (a *Attachment, err error) + func (e *Email) AttachFile(filename string) (a *Attachment, err error) + func (e *Email) Bytes() ([]byte, error) + func (e *Email) Send(addr string, a smtp.Auth) error