I have the followng e-mail run line a script - and I cant remember how to Carbon Copy another e-mail address (It cant be in the TO: address line).
IT="it_dept@blah.com"
USERS="pain_in_ass@blah.com"
REPORT=/some/generic/report.rpt
mailrun()
{
echo report
mail -s "Inventory Adjustment Report" $IT < $REPORT
}
How do I CC the report to the $USERS e-mail variable?
Thnx.
IT="it_dept@blah.com"
USERS="pain_in_ass@blah.com"
REPORT=/some/generic/report.rpt
mailrun()
{
echo report
mail -s "Inventory Adjustment Report" $IT < $REPORT
}
How do I CC the report to the $USERS e-mail variable?
Thnx.