Documentation
¶
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 Charset ¶
type Charset string
const ( Iso88591 Charset = "iso-8859-1" Iso88592 Charset = "iso-8859-2" Iso88593 Charset = "iso-8859-3" Iso88594 Charset = "iso-8859-4" Iso88595 Charset = "iso-8859-5" Iso88596 Charset = "iso-8859-6" Iso88597 Charset = "iso-8859-7" Iso88598 Charset = "iso-8859-8" Iso88599 Charset = "iso-8859-9" Iso885910 Charset = "iso-8859-10" Iso885913 Charset = "iso-8859-13" Iso885914 Charset = "iso-8859-14" Iso885915 Charset = "iso-8859-15" Iso885916 Charset = "iso-8859-16" Utf8 Charset = "utf-8" UsAscii Charset = "us-ascii" Windows1250 Charset = "windows-1250" Windows1251 Charset = "windows-1251" Windows1252 Charset = "windows-1252" Windows1253 Charset = "windows-1253" Windows1254 Charset = "windows-1254" Windows1255 Charset = "windows-1255" Windows1256 Charset = "windows-1256" Windows1257 Charset = "windows-1257" Windows1258 Charset = "windows-1258" )
type CharsetDecoder ¶
type DefaultDecoder ¶
type DefaultDecoder struct{}
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
HTMLBody string
TextBody string
Attachments []Attachment
EmbeddedFiles []EmbeddedFile
}
Email with fields for all the headers defined in RFC5322 with it's attachments and
Click to show internal directories.
Click to hide internal directories.