jon@chopin.udel.edu (Jon Deutsch) (12/04/90)
Scenario: I MAIL to a group alias (of about 40 people). The header is almost a page long due to all of the recipients. How can I set it up so that each person's header has only THEIR name/address in the To: field? But, before you answer, here is the criteria: The fix MUST be able to be done in an sh script (ie: it must be done on the MAIL command line). I thought about Bcc: but there seems to be no way of accessing that field via command line. Any amazing people out there with amazingly simple solutions? ANY info appreciated! X-------------------+--------------+-----------------------X | | |\ |>jon@brahms.udel.edu<| "For my 2 cents, | | \|on |/eutsch |>>-----------------<<| I'd pay a dollar" | X------+--------------------+--------------------+---------X
les@chinet.chi.il.us (Leslie Mikesell) (12/04/90)
In article <16028@chopin.udel.edu> jon@chopin.udel.edu (Jon Deutsch) writes: >Scenario: I MAIL to a group alias (of about 40 people). > The header is almost a page long due to all > of the recipients. > How can I set it up so that each person's header > has only THEIR name/address in the To: field? > But, before you answer, here is the criteria: > The fix MUST be able to be done in an sh script > (ie: it must be done on the MAIL command line). Are you really asking for something like this? (listfile has your list of mail addresses, 1 per line) #------------ TMP=/tmp/foo$$ cat >$TMP while read TO do mail $TO <$TMP done < listfile rm $TMP #------------- What you probably want instead is to set up an alias or mailing list with your mail transport software. How this is done depends on the particular mailer you are running, and may require administrative access. The method above has the dubious advantage of requiring no special permissions. Les Mikesell les@chinet.chi.il.us