Remove unnecessary from mail

This commit is contained in:
Alice Gaudon 2020-02-02 06:49:12 +01:00
parent 37ab936f2e
commit 35e20bd0f7

View File

@ -1,8 +1,4 @@
#!/bin/bash #!/bin/bash
MAILFROM=$(cat ~/.host_mail)
MAILTO=$(cat "$HOME/.admin_mail") MAILTO=$(cat "$HOME/.admin_mail")
SUBJECT=$1 SUBJECT=$1
cat | mailx -s "$SUBJECT" -r "$MAILFROM" "$MAILTO" cat | mailx -s "$SUBJECT" -r "$MAILFROM" "$MAILTO"