How to send mail with sender mail address and name?

Hi,
I am trying to send a mail using "mail" command in unix. I wanted to give sender name and sender address. I tried different options ,but still it shows only mail address(No name).

mail -s "Alert mail : Nothing running !!!"  $email -- -F"Mail Alert" -fno-reply@alert.com

But I am getting only "no-reply@alert.com" in sender address where as I want as "Mail Alert <no-reply@alert.com>"

Can some body let me know what I am doing wrong?

Store the subject in a variable and try to use it, same with from address and to address

try this :

mail -s "$subject" -S "from=$from_addr" "$to_addr" < /dev/null 

Thanks Sparks,
But my intention was different. I want a name means envelope and mail id in sender address.

sender should be like "Mail Alert <no-reply@alert.com>"

The -S option is giving error as "mail: invalid option -- S"

The -F and -f options are recognized by sendmail , not by mail . Try to set the REPLYTO environment variable.

You should probably mention the OS and OS version that you are running.
If you are running an older OS, then the mail options will likely be different.