aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/email2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/email b/bin/email
index c16ed62..deaf0f0 100755
--- a/bin/email
+++ b/bin/email
@@ -67,7 +67,7 @@ shift $((OPTIND - 1))
eval "$(assert-arg "${SUBJECT:-}" '-s SUBJECT')"
eval "$(assert-arg "${1:-}" 'ADDRESS')"
-printf 'Subject: %s\n\n%s' \
+printf 'Content-Type: text/plain; charset=UTF-8\nSubject: %s\n\n%s' \
"$(echo "$SUBJECT" | tr -d '\n')" \
"$(cat)" |
msmtpq -a euandreh "$@"