script broadcast email

view full story

http://www.unix.com – Dear All need advice, I just want broadcast email with mail from shell script, where the script look up the file that contain email address and password Code: #!/bin/bash SUBJECT="Mailserver Baru" ISIEMAIL="/tmp/emailmessage.txt"  for a in `(sed 's/"//g;s/\,.*//g' $1)`; do echo > $ISIEMAIL EMAIL="$a" echo "Dear $a" >> $ISIEMAIL {  for b in `sed 's/"//g;s/^.*\(........\)$/\1/g' $1`;         do { echo; echo >> $ISIEMAIL         echo "Kami sedang mengu (HowTos)