Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-09-2009, 03:38 AM   #1
LQ Newbie
Registered: Apr 2008
Posts: 5

Rep: Reputation: 0
I need help in sending email to a group

i am using suse linux 9.1
i have a group named ATS with 23 members and i want to send a single email that can be received by all ATS group members.
can anyone help me on how to do that!

Old 02-09-2009, 04:04 AM   #2
Senior Member
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,629

Rep: Reputation: Disabled
How do you send your emails? Are you using any mail client? Is yes, which?
Old 02-09-2009, 04:09 AM   #3
LQ Newbie
Registered: Oct 2008
Location: London, UK
Distribution: SUSE
Posts: 19

Rep: Reputation: 0
Are you talking about a Unix group? If you know the ID of the group, I guess you could try something like this (assuming the Group ID = 1001:
mail -s test `grep ":1001:" /etc/passwd|awk -F ":" {'print $1'}`

Obviously, you'd need to make sure another account doesn't also have 1001 as a user Id as well




Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem sending email through new email server bigben747 Linux - Server 3 01-26-2009 06:16 PM
Sending Mail to Group SBN Linux - General 1 04-02-2008 10:57 PM
sending email to an ip pyu7 Linux - Software 4 10-08-2004 03:46 PM
sending email csDraco_ Slackware 5 08-22-2003 06:50 PM
sending an email to a email address after a perl operation meluser Programming 9 04-07-2003 02:26 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:22 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration