Update SENDMAIL
parent
c8fb34d29e
commit
349d442f5b
|
@ -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" "$8"
|
||||
|
||||
### $1 $2 $3 $4 $5 $6 $7 $8
|
||||
### $FROM $RCPT "$SUBJECT" "$BODY" $SERVER $USER $PASS "$FILE"
|
||||
|
|
Loading…
Reference in New Issue