Documentation
¶
Overview ¶
Based on: https://github.com/k3a/parsemail/blob/master/parsemail.go
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attachment ¶
Attachment with filename, content type and data (as a io.Reader)
type Email ¶
type Email struct {
Header 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
BodyHtml string
BodyText string
Attachments []Attachment
EmbeddedFiles []EmbeddedFile
}
Email with fields for all the headers defined in RFC5322 with it's attachments and