mail command with attachment code example
Example: linux send attachment from command line
#install mutt sudo apt-get install mutt
mutt -s "the subject" -a myattachment.zip -- [email protected] <<< "some message"
#install mutt sudo apt-get install mutt
mutt -s "the subject" -a myattachment.zip -- [email protected] <<< "some message"