in reply to Re: cant send a mass email
in thread cant send a mass email

I have to send a mass email to a group of people in my company. I have tested it out by sending it to my own email account and it worked. Is there a way to setup a variable with everyones email that will allow me to go through the scrip once rather than use a while loop? Thanks again for the help

Replies are listed 'Best First'.
Re: Re: Re: cant send a mass email
by ibanix (Hermit) on Mar 19, 2003 at 01:35 UTC
    Is there a way to setup a variable with everyones email that will allow me to go through the scrip once rather than use a while loop?

    Why does it matter? As I already said, your email server may refuse to send emails with an excessive number of recpienents. You are better left to sending one email per address.

    ibanix

    $ echo '$0 & $0 &' > foo; chmod a+x foo; foo;

      since it's legit, (he's sending to himselfish), his best bet is to have the email admin people setup an alias for his group of people. then he can send one message to my-list@mymail.mydom.com for example and the server will send it to everybody for him.