summaryrefslogtreecommitdiff
path: root/scripts/epgd-sendmail
diff options
context:
space:
mode:
authorhorchi <vdr@jwendel.de>2017-03-05 16:39:28 +0100
committerhorchi <vdr@jwendel.de>2017-03-05 16:39:28 +0100
commite2a48d8701f91b8e24fbe9e99e91eb72a87bb749 (patch)
tree726f70554b4ca985a09ef6e30a7fdc8df089993c /scripts/epgd-sendmail
downloadvdr-epg-daemon-1.1.103.tar.gz
vdr-epg-daemon-1.1.103.tar.bz2
git init1.1.103
Diffstat (limited to 'scripts/epgd-sendmail')
-rwxr-xr-xscripts/epgd-sendmail6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/epgd-sendmail b/scripts/epgd-sendmail
new file mode 100755
index 0000000..64c90b9
--- /dev/null
+++ b/scripts/epgd-sendmail
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+# -----------------------------------------
+# require: mail of 'GNU Mailutils' package
+
+echo "$2" | mail -s "$1" -a "Content-Type: $3; charset=UTF-8" $4