Documentation
¶
Overview ¶
Package mailparse extracts IMAP envelope metadata, a cached MIME tree, and full-text search text from raw RFC 5322 messages.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeMIMETree ¶
func DecodeMIMETree(cached string, extended bool) (imap.BodyStructure, error)
DecodeMIMETree reconstructs a go-imap BodyStructure from the cached JSON.
Types ¶
type Result ¶
type Result struct {
Subject string
MessageID string
From []Address
To []Address
Cc []Address
Bcc []Address
ReplyTo []Address
InReplyTo []string
References []string
Date time.Time
Headers []Header
Text string
HTML string
Attachments []string
MIMETree string
Search Search
}
Result is the parsed representation used for storage and search.
Click to show internal directories.
Click to hide internal directories.