I am trying to send mail through BCC,CC and TO list. CC and TO are working fine but getting error from BCC as mailx: illegal option -- b
Here is my syntax
(echo "$MSG_BODY";)|mailx -r "abc@abc.com" -s "$MSG_SUB" -b $BCC_LIST -c $CC_LIST $TO_LIST
Please help me out.