View Single Post

  #2 (permalink)  
Old 02-01-2007, 08:05 PM
009satya 009satya is offline
Junior Member
 
Join Date: Feb 2007
Posts: 3
Rep Power: 0
009satya
Default

uuencode <filename.txt> <filename.txt> | mail -s "Hello this is mine subject" 009satya@gmail.com
OR
If you need to send the text along with then
( cat textfile; uuencode <filename.txt> <filename.txt> ) | mail -s "Hello this is my subject" 009satya@gmail.com

Note: (1) 'filename.txt' is an attachment file.
(2) 'textfile' contains the mail contents ( if require)
Reply With Quote