1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-24 04:57:02 +00:00

Wired character-set decoding into From and Subject

- Removed extra message object from ReadBody() return type
 - We now use enmime's GetHeader() when building the GOB, this will get
   us alternate character set decoding for the From and Subject headers.
 - Added a swaks test with a utf-8 subject line
This commit is contained in:
James Hillyerd
2013-10-01 14:01:08 -07:00
parent d9b728ef46
commit c9392c7eb1
6 changed files with 72 additions and 18 deletions

View File

@@ -11,3 +11,6 @@ swaks $* --h-Subject: "Swaks HTML" --data html.raw
# Attachment test
swaks $* --h-Subject: "Swaks Attachment" --attach-type image/png --attach favicon.png --body text.txt
# Encoded subject line test
swaks $* --data utf8-subject.txt