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 > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 06-19-2008
Pablo_beezo Pablo_beezo is offline
Registered User
  
 

Join Date: Apr 2008
Posts: 77
Print log to an email

Hi,

I have wrote a script and i want to be able to output my variable MSG_DEST (which is a log) to an email. so basically log contains:

hello John

when i email recipient it says

to xxxxxx
from xxxxxx
subject xxxxxx

hello John

What do I need to put in my script to get the log contents on the email?

any help would be appreciated.