Documentation
¶
Index ¶
Constants ¶
View Source
const ( HeaderMessageID = "Message-ID" HeaderBcc = "Bcc" HeaderCc = "Cc" HeaderFrom = "From" HeaderSubject = "Subject" HeaderTo = "To" AddrSep = ", " HeaderSep = ": " )
Variables ¶
This section is empty.
Functions ¶
func EncodeHeaderLine ¶ added in v0.67.2
func EncodeHeaderValueUTF8 ¶ added in v0.67.2
func MustEncodeHeaderLine ¶ added in v0.67.2
Types ¶
type Addresses ¶ added in v0.40.0
type MessageWriter ¶ added in v0.67.2
type MessageWriter struct {
To Addresses
Cc Addresses
Bcc Addresses
From *mail.Address
Sender *mail.Address
Date *time.Time
Subject string
Header http.Header
Body string
}
func (MessageWriter) HeaderLines ¶ added in v0.67.2
func (mw MessageWriter) HeaderLines() []string
func (MessageWriter) String ¶ added in v0.67.2
func (mw MessageWriter) String() string
Click to show internal directories.
Click to hide internal directories.