1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2026-01-28 14:05:57 +00:00

Set content-type properly on MailboxHtml handler

- Changes to upstream go.enmime help with #20
- Setting content-type is required so that browsers correclty render
  docs that don't include an <html> element.
This commit is contained in:
James Hillyerd
2013-11-15 12:03:27 -08:00
parent d98e6a2b58
commit ad85a1db93
4 changed files with 13 additions and 1 deletions

View File

@@ -7,7 +7,10 @@ export SWAKS_OPT_to="swaks@inbucket.local"
swaks $* --h-Subject: "Swaks Plain Text" --body text.txt
# HTML test
swaks $* --h-Subject: "Swaks HTML" --data html.raw
swaks $* --h-Subject: "Swaks HTML" --data mime-html.raw
# Top level HTML test
swaks $* --h-Subject: "Swaks Top Level HTML" --data nonmime-html.raw
# Attachment test
swaks $* --h-Subject: "Swaks Attachment" --attach-type image/png --attach favicon.png --body text.txt