sorry, i wasn't elobrative enough..
I call mailx from script, from command line if I use double quote I the get the subject as such, however when I use it via scripting, It's not
My script has following statement
cat $3 | mailx -v -R
somebody@org.com -s $1 $2
my execution statement is
./script1.sh "This is subject message"
nobody@org.com file.txt
I do get an email , however as I mentioned before the subject has only 'This' and not the full text