I am using Ubuntu 12.04 and I am not able to send mail as cc. Here is test file
echo "This is a test mail."| mail -s "Testing CC" email@example.com -c firstname.lastname@example.org
And getting the below error
mail: invalid option -- 'c'
Try `mail --help' or `mail --usage' for more information.
So please help me how to send CC mails in bash shell script.
Thanks in advance for your kind help.