I have a requirement to send email to a group once I have done some tests. I tried the following from command line:-
mailx -s "Test REsults for today "
myname@companyname.com <testresultfile.txt
but the email was not received by anyone
basically I followed the format:
mailx -s "$env(WWW_msub)" $env(WWW_mailto) < /tmp/$fname
is this supposed to work ?., When I entered this command, I did not get any error message. I looked at my email and did not find any email coming to me even after a day.
Can someone please help me to find out what is wrong inthe above statement?., is there any other easy way to send emails.
Thanks in advance.