The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Help with mail command hern14 UNIX for Dummies Questions & Answers 2 05-15-2008 06:25 AM
Mail command FeNiCrC_Neil UNIX for Dummies Questions & Answers 2 08-31-2007 10:12 AM
mail command on sco box benefactr UNIX for Advanced & Expert Users 0 08-17-2007 02:29 PM
Help with mail command Rohini Vijay Shell Programming and Scripting 7 08-01-2006 01:42 AM
mail command garric Shell Programming and Scripting 4 04-24-2006 01:09 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 01-08-2007
Registered User
 

Join Date: Oct 2006
Posts: 24
mail command

hi ,
do any one know how I can attach a .txt file using the command mail

if there is an example i will be thank full.


thanks.
Reply With Quote
Forum Sponsor
  #2  
Old 01-08-2007
Registered User
 

Join Date: May 2006
Location: England
Posts: 265
Quote:
Originally Posted by habuzahra
hi ,
do any one know how I can attach a .txt file using the command mail

if there is an example i will be thank full.


thanks.
Try the following:

mail user1@host <file.txt
Reply With Quote
  #3  
Old 01-08-2007
Registered User
 

Join Date: Oct 2006
Posts: 24
this work but it write the content of file to the message
what i need is to attach the file .
Reply With Quote
  #4  
Old 01-08-2007
Registered User
 

Join Date: Sep 2006
Posts: 1,580
you can try
Code:
uuencode yourfile yourfile | mail someone@somewhere.com
Reply With Quote
  #5  
Old 01-08-2007
Technorati Master
 

Join Date: Mar 2005
Location: Large scale systems...
Posts: 2,609
this had been answered several times

please search the forum
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 03:22 AM.


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