Hide from adress while sending emails

I have a shell script that sends email alerts to all the teams if there's any issue identified .

This is the command that I use to send email alerts to others

 
cat out.out | mail -s "Alerts on $date" $EMAILID

Above code sends emails to all the users by default it sends emails to all the users with userid and hostname from where the scripts are executed.

How can I change my code to use my group name to send these alerts instead of displaying the user & server name details like

Thank you

What operating system and which mail version?

Also check your mail manual:

man mail
1 Like

Thank you .
I got the option it's -r