1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-19 18:47:03 +00:00
Commit Graph

6 Commits

Author SHA1 Message Date
James Hillyerd
2b3491fc87 Improved message rendering
Added a decodeSection function to mime.go that uses go-qprintable to
parse quoted-printable emails or MIME parts, fixes #7

Added a very basic TextToHtml converter to provide nicer rending of text
message bodies.
2012-10-19 12:50:16 -07:00
James Hillyerd
0efb28ef38 Basic MIME parsing is now integrated, this closes #1 2012-10-17 21:10:02 -07:00
James Hillyerd
e76fad1523 More MIME dev, new unit test libs
MIME parsing code is now in an acceptable state to integrate into
web UI.  It should be able to display text and/or HTML (sans
attachments).

Added "testify" unit testing library, providing assertions and mocks.
2012-10-17 20:25:27 -07:00
James Hillyerd
bc7526abef More MIME parsing progress!
After parsing MIME into a tree of nodes, we can now issue
BreadthFirstSearch commands against it to locate the text and HTML
portions of the email.
2012-10-15 22:56:45 -07:00
James Hillyerd
a2070dd60a Parse MIME parts into a node tree 2012-10-15 21:04:58 -07:00
James Hillyerd
46b123606b Started work on MIME parser
I'm hoping to mostly rely on the official mime and mime/multipart
packages, but Inbucket is still going to have to decided what to
do with the various parts it reads.
2012-10-14 23:11:39 -07:00