use email on linux code example
Example: Sending a Simple Email From Linux Terminal
$ echo -e "\nSending regards from Terminal." | msmtp -a outlook [email protected]
$ echo -e "\nSending regards from Terminal." | msmtp -a outlook [email protected]