Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SMTPEmail ¶
type SMTPEmail struct { To []string From string Contents []byte // contains filtered or unexported fields }
func (*SMTPEmail) Parse ¶
Parses this email as MIME. Returns the email, or an error if one occurred.
func (*SMTPEmail) ParseToJson ¶
Parses the Contents of the email, and converts it to a JSON structure. Returns the bytestring of JSON, or an error if conversion failed.
Click to show internal directories.
Click to hide internal directories.