[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to mail a file?



On Thu, Jan 14, 1999 at 01:28:48PM +0100, homega@vlc.servicom.es wrote:

 : I believe there's a command for e-mailing a file without having to use an
 : MTU, but directly from the command line.  mailx, smail,... any ideas?

For text files: 
  mail -s 'your subject' recipient < file.txt 

For binary files: 
  uuencode file.bin file.bin | mail -s 'your subject' recipient


HTH,
 -Remco


Reply to: