# README
MailHog data library

github.com/mailhog/data
implements a data library
Licence
Copyright © 2014-2015, Ian Kent (http://iankent.uk)
Released under MIT license, see LICENSE for details.
# Functions
ContentFromString parses SMTP content into separate headers and body.
FromBytes returns a SMTPMessage from raw message bytes (as output by SMTPMessage.Bytes()).
NewMessageID generates a new message ID.
PathFromString parses a forward-path or reverse-path into its parts.
# Variables
LogHandler is called for each log message.
# Structs
Content represents the body content of an SMTP message.
Message represents a parsed SMTP message.
MIMEBody represents a collection of MIME parts.
Path represents an SMTP forward-path or return-path.
SMTPMessage represents a raw SMTP message.