Mail attachments from command line

Mick Ohrberg micke at kc.rr.com
Tue Apr 2 00:52:46 CST 2002


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