Mail attachments from command line

Gerald Combs gerald at ethereal.com
Tue Apr 2 03:53:25 CST 2002


You might also try mimencode, which comes with the metamail package.

On Mon, 1 Apr 2002, Mick Ohrberg wrote:

> Try... 
> # mail recipient at domain.foo < `uuencode filename filename`
> 
> 	/Mick
> 
> | -----Original Message-----
> | From: owner-kclug at marauder.illiana.net 
> | [mailto:owner-kclug at marauder.illiana.net] On Behalf Of Adam Davis
> | Sent: Monday, April 01, 2002 6:37 PM
> | To: kclug at kclug.org
> | Subject: Mail attachments from command line
> | 
> | 
> | Anyone know of a way to send email (with short text message and 
> | attachments, or only the attachments) from the command line, without 
> | having to enter into any interactive stuff?  I'm trying to 
> | setup a shell 
> | script to email backed up files to a Windows computer, but so far 
> | haven't had any luck with any command-line mailers, and I'm 
> | reluctant to 
> | force it through pine/mutt/whatever interactive mailers.  
> | Suggestions, 
> | anybody?
> | 
> | ~ald
> | 
> | 
> | 
> | majordomo at kclug.org Enter without the quotes in body of 
> | 
> 
> 
> 
> 




More information about the Kclug mailing list