Remove unnecessary from mail

This commit is contained in:
Alice Gaudon 2020-02-02 06:49:12 +01:00
parent 37ab936f2e
commit 35e20bd0f7
1 changed files with 1 additions and 5 deletions

View File

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