diff --git a/mailhog/templates/index.go b/mailhog/templates/index.go index 61ee293..39b8bac 100644 --- a/mailhog/templates/index.go +++ b/mailhog/templates/index.go @@ -4,12 +4,14 @@ func Index() string { return `
- - - - + + + + + + + + + + + + + + + + + + + +
- {{ header }} - -
{{ v }}
-
From{{ preview.Content.Headers["From"][0] }}
Subject{{ preview.Content.Headers["Subject"][0] }}
To + + {{ preview.Content.Headers["To"].join(', ') }} +
+ {{ header }} + + +
{{ v }}
+
-
{{ getMessagePlain(preview) }}
-
{{ getSource(preview) }}
+
{{ getMessagePlain(preview) }}
+
{{ getSource(preview) }}
diff --git a/mailhog/templates/layout.go b/mailhog/templates/layout.go index 747d050..b6d2791 100644 --- a/mailhog/templates/layout.go +++ b/mailhog/templates/layout.go @@ -17,7 +17,7 @@ func Layout(content string) string {