waldmann@samson.fire.uni-bremen.de (PD Dr. Hans-Christian Waldmann) wrote in message news:<buo1c4$dea$1@f40-3.zfn.uni-bremen.de>...
> 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.).
>
Try "mpack" to email attachments from the command line:
http://www.rahul.net/cgi-bin/userbin...pack§ion=1
has a man page. If it doesn't ship with your Unix, google has many
download sites. There are some security advisories for older versions
of the companion program "munpack", but you won't be using that.
Daniel Feenberg