Script which can send file to diffrent mail ids.

Hi
i am looking for the script which can send file to different mailids, please halp me out.

Thanks in advance.

Explore the mailx utility. Please post specific queries, if any.

or take help of the sendmail program, if you have one

Simple (but not the best) way:
print "something
something else
.
"|mail username@server