The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > BSD
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 08-28-2005
sbabuts sbabuts is offline
Registered User
 

Join Date: Aug 2005
Posts: 1
Cool help request for sending email from unix to internet

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.
Reply With Quote
Forum Sponsor