SUMMARY: Sending attachements - email
2007-12-25 1:28:00
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 at 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 at domain.com <mailto:user at 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 _______________________________________________
codeprof mailing list
codeprof at codeprof.com
http://www.codeprof.com/execute/ask/?codeinfoid=23717
Comments
Got something to say?
You must be logged in to post a comment.

