forked from github/server
use system-wide muttrc
This commit is contained in:
parent
138114bcb1
commit
11eb4980f8
|
@ -25,6 +25,6 @@ addr=$1
|
||||||
subj=$2
|
subj=$2
|
||||||
shift 2
|
shift 2
|
||||||
|
|
||||||
mutt -F "$ERESSEA/etc/muttrc" -s "$subj" -a "$@" -- "$addr" \
|
mutt -s "$subj" -a "$@" -- "$addr" \
|
||||||
< "$ERESSEA/server/etc/$TEMPLATE"
|
< "$ERESSEA/server/etc/$TEMPLATE"
|
||||||
|
|
||||||
|
|
|
@ -44,6 +44,6 @@ addr=$1
|
||||||
subject=$2
|
subject=$2
|
||||||
shift 2
|
shift 2
|
||||||
|
|
||||||
mutt -F "$ERESSEA/etc/muttrc" -s "$subject" -a "$@" -- "$addr" \
|
mutt -s "$subject" -a "$@" -- "$addr" \
|
||||||
< "$TEMPLATE" || echo "Sending failed for email/report: $2/$3"
|
< "$TEMPLATE" || echo "Sending failed for email/report: $2/$3"
|
||||||
|
|
||||||
|
|
|
@ -93,7 +93,7 @@ email=$(grep "faction=$1:" reports.txt | cut -d: -f2 | sed 's/email=//')
|
||||||
echo "sending reports to $1 / $email"
|
echo "sending reports to $1 / $email"
|
||||||
info=/dev/null
|
info=/dev/null
|
||||||
[ -e ../email.txt ] && info=../email.txt
|
[ -e ../email.txt ] && info=../email.txt
|
||||||
cat $info | mutt -F $ERESSEA/etc/muttrc -s "Testauswertung Spiel $game Partei $1" -a $zip -- $email
|
cat $info | mutt -s "Testauswertung Spiel $game Partei $1" -a $zip -- $email
|
||||||
}
|
}
|
||||||
|
|
||||||
game=0
|
game=0
|
||||||
|
|
Loading…
Reference in New Issue