View Single Post

   
  #2 (permalink)  
Old 01-04-2008, 09:24 PM
Peter Boosten
 
Posts: n/a
Default Re: attachments from command-line ?

on Thu, 22 Jan 2004 at 08:24 GMT, PD Dr. Hans-Christian Waldmann wrote:
>
> Dear list,
>
> I have to send many files to quite of user according to regular
> time schedule. Would be a job for a cron daemon, I suppose.
>
> Therefore I should be sending mail with "mail" from the command-line
> and I looking for something like
>
> mail user@adress <body.text -ATTACH "file1,file2,file3..."
>
> (the ATTACH-switch being the problem, it's not there, is it ??)
>
> Does anyone know how to achieve this? Files to attach might be
> binary (pdf-Format or zip-archive, etc.).
>
> I also would consider doing it with perl.
>
> Thank you for your consideration.
>


uuencode file file | mail someone@somewhere.loc


Regards, Peter
--
Monday is an awful way to spend one seventh of your life.

MSN/Mail: pboosten at hotmail dot com
Reply With Quote