The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > BSD
.
google unix.com



BSD BSD, sometimes called Berkeley Unix, is a Unix operating system developed by the Computer Systems Research Group of the UC Berkeley.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
sending email from KSH unix script. rosh0623 Shell Programming and Scripting 3 07-26-2005 04:36 AM
sending email in unix. need help! tads98 Shell Programming and Scripting 2 05-16-2005 09:33 AM
unix - c program sending error from DB to email chino_52284 Shell Programming and Scripting 2 04-28-2005 09:12 PM
Sending email bcheaib UNIX for Dummies Questions & Answers 7 02-22-2005 09:03 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 08-29-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.
  #2 (permalink)  
Old 09-14-2005
indo1144's Avatar
indo1144 indo1144 is offline
Registered User
  
 

Join Date: Jun 2002
Location: Netherlands
Posts: 54
Here's what I always do:
Quote:
cat testresultfile.txt | mail -s "Place subject here" email@address.com
You can put more than one mailaddress behind the first, use space as separator.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 02:39 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0