Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrEmptyString = errors.New("EOF")
Functions ¶
This section is empty.
Types ¶
type Attachment ¶
Attachment represents file data with filename, content type and data (as an io.Reader)
type Email ¶
type Email struct {
// Headers full set for easier access to extra fields
Headers mail.Header
Subject string
Sender *mail.Address
From []*mail.Address
ReplyTo []*mail.Address
To []*mail.Address
Cc []*mail.Address
Bcc []*mail.Address
Date time.Time
MessageID string
InReplyTo []string
References []string
ResentFrom []*mail.Address
ResentSender *mail.Address
ResentTo []*mail.Address
ResentDate time.Time
ResentCc []*mail.Address
ResentBcc []*mail.Address
ResentMessageID string
ContentType string
Content io.Reader
HTMLBody string
TextBody string
Attachments []Attachment
EmbeddedFiles []EmbeddedFile
}
Email with fields for all the headers defined in RFC5322 with attachments and embedded files
Click to show internal directories.
Click to hide internal directories.
