command > file.tmp
mailx -s "Subject" mailaddress <file.tmp
rm file.tmp
Give script executable permission.Run Script
command > file.tmp
mailx -s "Subject" mailaddress <file.tmp
rm file.tmp
Give script executable permission.Powered by WHMCompleteSolution