AW: [Perl-unix-users] sendmail

2001-10-29 Thread Tim Hammerquist
Byron Wise wrote: > --- lonh SENG <[EMAIL PROTECTED]> wrote: > > I am beginner of perl and unix system. > > I have a flat file containing email address. > > I want to send the same message to those guys in > > the flat file. > > Could anyone help me? > > This is a very basic approa

Re: [Perl-unix-users] sendmail

2001-10-29 Thread Byron Wise
This is a very basic approach that will send a text message to everyone in your flat file: ## This isn't tested ;-) $message = "What I want to say goes here for the body."; open (SENDMAIL,"|/usr/lib/sendmail -t"); open (EMIAL, "myFlatFile") or die "Can't open file: $!\n"; # Read each email add