Linux command line utility to send to email list?
keith smith
klsmith2020 at yahoo.com
Thu Dec 19 10:36:32 MST 2013
If you are going to maintain a mailing list I would suggest a free http://mailchimp.com/ account.
------------------------
Keith Smith
On Tuesday, December 17, 2013 3:18 PM, Matt Graham <mhgraham at crow202.org> wrote:
> On Tue, Dec 17, 2013 at 2:18 PM, <joe at actionline.com> wrote:
>> What would be the best *simple* command line utility to send an email
>> message to a small (100) list of email addresses?
You have a machine that's running an SMTP server or something that can
be used as a smarthost, right? This machine could be used for this.
Have a text file called listofmails.txt that had 1 mailing address per
line. Then put the mail you'd like to send in mailtosend.txt. Then:
for i in `cat listofmails.txt` ; do
mail -s 'A SUBJECT' $i < mailtosend.txt
done
Of course, this assumes you have a machine where the mail command
works, which might not always be the case. If you have to use a
different From: address, then this won't work.
On 2013-12-17 14:41, Stephen Partington wrote:
> The idea of a mailing list might be a better idea. you can power one
> yourself with a listserv or use Google groups.
listservs can get complicated.
--
Crow202 Blog: http://crow202.org/wordpress
There is no Darkness in Eternity
But only Light too dim for us to see.
---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phxlinux.org/pipermail/plug-discuss/attachments/20131219/6a6bbf19/attachment.html>
More information about the PLUG-discuss
mailing list