User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Shell Scripting section within the Software Development category of DaniWeb, a massive community of 391,596 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,654 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Shell Scripting advertiser:

Sending email from a shell script

Join Date: May 2008
Posts: 2
Reputation: Mithun.kamath is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
Mithun.kamath Mithun.kamath is offline Offline
Newbie Poster

Re: Sending email from a shell script

  #14  
May 8th, 2008
Originally Posted by YUPAPA View Post
One command does it all ~ :p

echo "Message Content" | mail -s "Subject goes here" you@domain-name.com


I tried the same but when the mail is send ... The from address is diffirent like <yourlogin@yourmachinename.local>
How to solve this
Reply With Quote  
All times are GMT -4. The time now is 11:42 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC