sending mail through mailx command

Hi
I need help to send mail through mailx command . Currenlt my program is like

#!/bin/ksh -x
echo "[$(date)] [Script Location $(pwd)] " >>  path.lst
MAIL_LIST='someone1@gamil.com  someone2@gamil.com someone3@gamil.com'
cat  path.lst | mailx -s "path loaction"  $MAIL_LIST
echo "End"
exit 0

Its work fine . But i need tocustomize this liitle instead of writing eamil id in MAIL_LIST , i want to save all the email id names in file mail.txt .
Then i want to send mails to through mailx command to all the names in mail.txt file.

Please help me i think i need to read from mail.txt first and save it in one string and then call that string in mailx ..
Please helpme out ..URGENT ...

try this

SUBJECT=path loaction
TO_LIST=someone1@gamil.com,someone2@gamil.com,someone3@gamil.com
echo "[$(date)] [Script Location $(pwd)] " >>  path.lst
mail -s "$SUBJECT"  $TO_LIST < $path.lst

hey u didnt got my question... i dont need [TO_LIST=someone1@gamil.com,someone2@gamil.com,someone3@gamil.com ] this to be in my script .
actaully in the same directory i will create afile ex names.txt which will contain all the mail id's .
someone1@gamil.com
someone2@gamil.com
someone3@gamil.com

Now my aim isto read all the names from this file names.txt . Then save it in the string TO_LIST in such a way that all these email id are separated by space . Now we need to call the TO_LIST.
i WANT how to save all these email id in the string .TO_LIST= someone1@gamil.com,someone2@gamil.com,someone3@gamil.com

try this manisha

kamaraj@kamaraj-laptop:~/Desktop/testing$ TO_LIST=`cat numbers`
kamaraj@kamaraj-laptop:~/Desktop/testing$ echo $TO_LIST
23423 4234 23 423 423 4 23432 4324 324 234
kamaraj@kamaraj-laptop:~/Desktop/testing$ 

instead of numbers -- give your email file