vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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. Hans -- -------------------------------------------------------------------- PD Dr. Hans C Waldmann Methodology & Applied Statistics in Psychology & the Health Sciences located: ZKPR, University of Bremen, Grazer Str.6, D-28359 Bremen mail: waldmann@samson.fire.uni-bremen.de web: http://samson.fire.uni-bremen.de/waldmann friend of: IBM-AIX -- PERL -- POSTGRESQL -- SAS -- LaTeX -- VIM >> For freelance consulting services contact thinklab@uni-bremen.de |
| |||
| 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 |
| |||
| In article <buo1c4$dea$1@f40-3.zfn.uni-bremen.de>, PD Dr. Hans-Christian Waldmann <waldmann@samson.fire.uni-bremen.de> wrote: > >Does anyone know how to achieve this? Files to attach might be >binary (pdf-Format or zip-archive, etc.). See ftp://ftp.tecgraf.puc-rio.br/pub/lhf/matt.tar.gz . |
| |||
| In article <buo1c4$dea$1@f40-3.zfn.uni-bremen.de>, waldmann@samson.fire.uni-bremen.de (PD Dr. Hans-Christian Waldmann) writes: > > 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 ??) Also check out: http://www.fpx.de/fp/Software/UUDeview/ HTH, Dave -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet? |
| ||||
| 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 |