Email from script: Difference between revisions
From James's Wiki
(Created page with "{ echo To: sumyungguy@gmail.com echo From: sumyungguy@gmail.com echo Subject: Safe shutdown or reboot preformed echo In theory. } | ssmtp sumyungguy@gmail.com") |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{ | #!bin/bash | ||
{ | |||
echo To: sumyungguy@gmail.com | echo To: sumyungguy@gmail.com | ||
echo From: sumyungguy@gmail.com | echo From: sumyungguy@gmail.com | ||
echo Subject: Safe shutdown or reboot preformed | echo Subject: Safe shutdown or reboot preformed | ||
echo In theory. | echo In theory. | ||
} | ssmtp sumyungguy@gmail.com | } | ssmtp 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