Thanks to all who responded - very much! I decided to use "mpack" - short&sweet. Very useful, although I do have to now install and manage yet another binary :-( There were a number of really talented people with great answers to my problem, there names are below; Frank Smith Crist Clark Jay Lessert Evan Gold Blain Owens Mike Fulce David Foster Timothy Lorenc John Julian -----Original Message----- From: Andre Godin [mailto:AGodin@jetnet.ca] Sent: Thursday, June 12, 2003 1:48 PM To: Sunmanagers (E-mail) Subject: Sending attachements - email I have a requirement to send a dated filename as an attachement from a cron job. I'm currently using uuencode to send the file as an attachment with mailx. ie: uuencode <filename*.lst> <filename'date +%Y-%m-%d'.txt> | mailx user@domain.com <mailto:user@domain.com> Only problem is that the cron job has to run the day after the dated filename is created. The way I'm doing it, the attached filename is dated with todays date and note yesterdays or the actual filename name. 1. Does mailx or sendmail support sending attachements - if so, any tips on sending them without uuencoding first would be great. 2. How do you just uuencode a filename that changes (date) daily and have it sent with yesterdays date? Any help on this one would be great! Thanks...Andre Unix Systems Analyst JETNET Internetworking Services Inc. 333 Preston St. Suite 300 Ottawa, Ontario ph: (613) 237-5995 fax: (613) 237-9002 _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagersReceived on Thu Jun 12 16:49:19 2003
This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:12 EST