Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FixMailEncodedHeader ¶
func MimeHeaderDecode ¶
Types ¶
type ParsedAttachment ¶
type ParsedEmail ¶
type ParsedEmail struct { MailboxID int RawMail []byte Subject string Date time.Time From mail.Address To mail.Address Headers mail.Header HtmlPart string TextPart string Attachments []ParsedAttachment EmailBody []byte // contains filtered or unexported fields }
func ParseMail ¶
func ParseMail(env *smtpd.BasicEnvelope) (*ParsedEmail, error)
Click to show internal directories.
Click to hide internal directories.