Update SENDMAIL

This commit is contained in:
TheDragonkeeper
2017-11-07 23:05:11 +00:00
committed by GitHub
parent c8fb34d29e
commit 349d442f5b

View File

@@ -1,2 +1,7 @@
#!/bin/bash
[[ -z $8 ]] && python /usr/bin/sendemail.py "$1" "$2" "$3" "$4" "$5" "$6" "$7" [[ -z $8 ]] && python /usr/bin/sendemail.py "$1" "$2" "$3" "$4" "$5" "$6" "$7"
[[ ! -z $8 ]] && python /usr/bin/sendemail.py "$1" "$2" "$3" "$4" "$5" "$6" "$7" "$8" [[ ! -z $8 ]] && python /usr/bin/sendemail.py "$1" "$2" "$3" "$4" "$5" "$6" "$7" "$8"
### $1 $2 $3 $4 $5 $6 $7 $8
### $FROM $RCPT "$SUBJECT" "$BODY" $SERVER $USER $PASS "$FILE"