Andrew Libby on Wed, 11 Aug 1999 09:00:11 -0400 (EDT)


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

Re: [Plug] Mailing attachments from command line


The juju package works for this kind of thing.

specifically juen is the command.  It didn't come with RH5.2 but 
I believe it's packaged in 6.0. 

Find it at
http://hottemax.uni-muenster.de/~grover/juju.html

Andy
 
On Mon, Aug 09, 1999 at 05:04:30PM -0400, Michael C. Toren wrote:
> > Is there anyway to attach a document to a mail message from the command
> > line?  I guess it would be easy for a text file:
> > 
> > echo "attachment.txt" > mail username
> 
> Incidentally, the above line probably doesn't do what you intended; it
> would place the literal string "attachment.txt" into a file named "mail",
> overwriting it's previous contents if it already existed.
> 
> To mail a user the contents of a text file, try:
> 
> 	mail -s "Desired subject line" username < attachment.txt
> 
> -mct
> 
> 
> 
> _______________________________________________
> Plug maillist  -  Plug@lists.nothinbut.net
> http://lists.nothinbut.net/mail/listinfo/plug

_______________________________________________
Plug maillist  -  Plug@lists.nothinbut.net
http://lists.nothinbut.net/mail/listinfo/plug