How do i send a mail using mailx r mail command from a script with the following information along with it
a) the mail should be send to a person with a CC to some other person
b)with a subject
c) with a message.
this mail has to be send withing a script so u cannot pass any command line arguments. I mean to say that based on some condition the command has to be executed with the following things
Thanks in advance.