package
Version:
v0.0.0-...-548858b
Opens a new window with list of versions in this module.
Published: Mar 17, 2019
License: MIT
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package digest summarizes emails
Body takes a raw SMTP body and simplifies it.
The body itself should be the raw body string or optionally a
base64 encoded version of it.
Content types can be text/plain or a RFC1341 style multipart.
The first text part is used for multipart messages.
Options can be used to further control behavior
Message takes a raw smtp message string and returns a simplified
version of it.
It only includes From and Subject among the headers and understands
transfer encodings like quoted-printable
Options can be used to further control behavior
type Options struct {
LineLimit int
ColLimit int
SkipHTML bool
PrettyTables bool
OmitLinks bool
AllowNonLetterLines bool
}
Options to configure behavior
Source Files
¶
Click to show internal directories.
Click to hide internal directories.