Bash script how to email?

Jarrett Swaniawski asked a question: Bash script how to email?
Asked By: Jarrett Swaniawski
Date created: Mon, Mar 1, 2021 9:39 AM
Date updated: Fri, Aug 12, 2022 12:14 PM


Top best answers to the question «Bash script how to email»

  • Type the message body and press Ctrl+D to send the email. If you want to add email message body in the command then use ‘<<<’ operator like the following command. You can also add the sender email address with `mail` command by using the ‘-a’ option.

Your Answer