On Friday 31 March 2006 08:50, [EMAIL PROTECTED] wrote: > > Or use at directly of course; compose the messages in a > > plain old file and then: > > > > $ at 9am tomorrow > > mail -s your-subject -c cc-list -b bcc-list [EMAIL PROTECTED] < > > your-plain-old-file <hit ctrl-d here> > > > > You use mutt (and other clients such as nail) instead > > of 'mail'. They all take the same command line options. > > is there a way to put all address/subject/stuff in one file ?
It's called perl and it's perfect for your needs (except it's not done already) [at 9 am run perl.file that composes mail based on headers eg (quick thought)] ------------------------------------------------- sub: your-subject1 to: dest1 cc: copy1 body: a long diatribe sub: another mail to: meto body: long rambling mail about stuff sub: final mail to: him bcc: theboss body: see its done! ---------------------------------------------- In this scheme the only caveat is never have a body starting with your keywords eg sub: to: cc: bcc: body: everything else goes. ie this would be valid ... ---------------------------------------------- sub: The new mail system to: him body: Here is the new mailer. Be carefull to not start a line with keywords sub: to: cc: body: they may be in the text but not first in line. Use perl anchors eg /^to:/ /^body:/ etc ---------------------------------------------- James -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
