Email from script: Difference between revisions
From James's Wiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
#!bin/bash | |||
{ | { | ||
echo To: sumyungguy@gmail.com | echo To: sumyungguy@gmail.com |
Latest revision as of 00:08, 28 October 2018
#!bin/bash { echo To: sumyungguy@gmail.com echo From: sumyungguy@gmail.com echo Subject: Safe shutdown or reboot preformed echo In theory. } | ssmtp sumyungguy@gmail.com