How to send email through shell script

Hi All,

I am new to the unix , i have to deliver one script very urgently

I have to write a shell script where i have i want to send email to specific email id

in this script i want

FROM to be parameterized and stored in a variable
TO to be parameterized and stored in a variable
SUBJECT to be parameterized and stored in a variable
and MAIL BODY also be parameterized but it should be saved as MSG BODY
and stored in a variable

man man mailx (POSIX)

Mailx is not supporting in my production server
can anybody think of any other option?

plz help

Presumably this is a continuation of your thread:
http://www.unix.com/shell-programming-scripting/147485-how-send-email-through-shell-script.html

What Operating System do you have?
What Shell do you use?

What makes you believe that "mailx" does not work? (i.e. What did you try and what happened?).