[clug] Mass Mailing

Owen Cook rcook at pcug.org.au
Wed Nov 23 09:58:04 GMT 2005


On Wed, 23 Nov 2005, Dr Mikel wrote:
> 
> I'm trying to find a simple mass mailing solution (it's not spam).
> The recipients come from a database that can be in text or excel format. 
> 50,000+ that needs to go out every weekend.
> And another 1000+ with attachment every weekend.
> 
> All it needs to do is send mail from the excel/text file and I would input 
> the message etc preferably web based.
> It would be nice if it could handle or split the loads some how maybe 
> scheduling?
> 

Dont know about the attatchment bit, nor what you have installed, but this
worked for me

#!/bin/sh
for i in `cat ../names.txt`
 do
 #/usr/bin/mailx -s "Subject here" $i < /tmp/file_containing_message

 cat blahblah|mailx -s "Here's the file" $i
 done





Owen



More information about the linux mailing list