<<< Date Index >>>     <<< Thread Index >>>

Re: I don't want to send spam but can mutt do this?



Hello mutt-users,

> for address in user1@xxxxxxxxxxxx user2@xxxxxxxxxxxx ... 
> user50@xxxxxxxxxxxxx ; do
>   cat message.txt | mutt -s message -a attachment.file ${address}
> done

this is interesting! I wanted to do such things before, for a palmtop user
group in form of a "private mailing list".

Is there a way to let the for loop read a file with a list of addresses (one
address per line), instead of listing the addresses all in the script?

thanks
daniel

-- 
GMX DSL-Flatrate 1 Jahr kostenlos* + WLAN-Router ab 0,- Euro*
Bis 31.12.2005 einsteigen! Infos unter: http://www.gmx.net/de/go/dsl