Log in



Mass mailing from the command line!

Thursday, June 20th, 2013 by

This is the little script that sent out the messages for the picnic!

#!/bin/bash
for Each in ` cat CLUGers.txt `
do cat Message.txt | mutt -s "June CLUG meeting" $Each
echo $Each
sleep 10
done

Message.txt is a file in the local directory that contained the body text of the e-mail, CLUGers.txt is a list of email addresses, one per line of the people we wanted to send the e-mail to.

Comments are closed.

We (CLUG, or CLUG.Org) don't have a formal mission statement. Our goals are very simple. We have discovered GNU/Linux and want to talk to others who have made the same discovery. We are experts and novices, professionals and hobbyists, young and old. Whoever you are, we hope we have something for you. Come and check us out!