I need my script to send an email from terminal. Based on what I\'ve seen here and many other places online, I formatted it like this:
Along with the other answers mentioned by Barmar and Joni, I've noticed that I sometimes have to leave a blank line before and after my EOF when using <<-EOF.
<<-EOF