how to send email from linux command line using mail code example
Example: linux mail command
mail -s "This is the subject" [email protected] <<< 'This is the message'
mail -s "This is the subject" [email protected] <<< 'This is the message'