Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] using mutt in a bash script



On 8/7/07, Michal Hajek <hajek1@example.com> wrote:
> The idea is to have a list of recipients in a file "test.adr" one at a line and sent them all the same email.
> eg.
>
> $cat test.adr
> "My friend <fr@example.com>"
> "My enemy <en@example.com>"
> "Your friend <yf@example.com>"
> $

Try this.

for i in `cat test.adr` ;do cat invitation.txt | mutt -s "test" $i ; done

If mutt balks for some reason try to "mail -s"

Regards, Keith


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links