Sending mail in unix

Dear Friends,

I have a shell script where the mail is being sent like this:

/usr/lib/sendmail -v ${CPA_ADMIN}

CPA_ADMIN="xx@abc.com"

Can we specify more than one email ids in this variable?
Is ther eany limit to the number of email ids I can specify in this variable, to whom the mail can be sent?

How can I achieve the two tasks said above..

Please help.

Thanks,

/usr/lib/sendmail --help
/usr/lib/sendmail -h
man sendmail
info sendmail

Edit your 'aliases' file and run the 'newaliases' command. your list should be separated by commas.

You can simply put multiple addresses in CPA_ADMIN:

CPA_ADMIN="foo@example.com bar@example.net baz@nonesvch.unix.com"

There is probably an upper limit on how many you can put there, but I seriously doubt that you are going to bump into it by accident. You will want to switch to a proper mailing list manager by then anyway.