The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Include PERL script with in the unix shell script ganapati UNIX for Dummies Questions & Answers 1 04-29-2008 09:18 AM
help me in sending parameters from sqlplus script to unix shell script Hara Shell Programming and Scripting 2 01-29-2008 12:31 PM
Shell Script: want to insert values in database when update script runs ring Shell Programming and Scripting 1 10-25-2007 12:06 AM
Modify Perl script to work with txt - Permissions script joangopan Shell Programming and Scripting 1 09-12-2007 08:38 PM
MAILTO Not Accepted In Crontab raza SUN Solaris 8 08-02-2006 08:55 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 06-21-2006
Registered User
 

Join Date: Apr 2006
Location: Aberdeen, MD
Posts: 11
Question MailTo in a script

Im a beginner in shell scripting, but I figured if I wanted the right answer, this is the place to come.

I've written a script that basically executes a command and sends the result to a standard output > ???log.log. I just wanted to know if I could put the MailTo command somewhere in the script that will mail the log to me at my email address with the result of the operation.

Im thinking that it would look like:

mailto: email@mymail.mail -s "Script Result" -c myboss@mymail.mail

Can someone clarify this for me? Thanks in advance!
Reply With Quote
Forum Sponsor
  #2  
Old 06-21-2006
vgersh99's Avatar
Moderator
 

Join Date: Feb 2005
Location: Boston, MA
Posts: 3,016
I'd recommend looking into the FAQs of these forums.
Reply With Quote
  #3  
Old 06-21-2006
Registered User
 

Join Date: Apr 2006
Location: Aberdeen, MD
Posts: 11


Thank you much. Im sure you get a lot of us forum newbies on here.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 11:12 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0