Just append the file to the bottom of the message you want to send. Soooo...:
echo "This is my message about this report" > testmsg uuencode somefile.csv somefile.csv >> testmsg mail -s "Candygram!" [EMAIL PROTECTED] < testmsg Something like that. Matt -- Matthew Zito GridApp Systems Email: [EMAIL PROTECTED] Cell: 646-220-3551 Phone: 212-358-8211 x 359 http://www.gridapp.com > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf Of Saira Somani > Sent: Wednesday, June 11, 2003 12:55 PM > To: Multiple recipients of list ORACLE-L > Subject: OT: uuencode and mail > > > Hi all, > > Platform: AIX 4.3.3 > > I realize this off topic but it is somewhat related. Each > morning a cron job creates an SQL*Plus output in csv format > which gets e-mailed out as an attachment: > > $ uuencode somefile.csv somefile.csv |mail -s "Here is your > file" [EMAIL PROTECTED] > > I still want to continue receiving the attachment but I > cannot figure out how to write an e-mail message in the body > of that e-mail which gives an explanation of what the report > is and contains a disclaimer type clause. > > If I do this: > > uuencode somefile.csv somefile.csv |mail -s "TEST" > [EMAIL PROTECTED] < testmsg > > I only receive what is in testmsg as the body of the e-mail > and not the csv attachment. > > If anyone can contribute to a solution, I'd be grateful. > > Thanks, > Saira > > -- > Please see the official ORACLE-L FAQ: http://www.orafaq.net > -- > Author: Saira Somani > INET: [EMAIL PROTECTED] > > Fat City Network Services -- 858-538-5051 http://www.fatcity.com > San Diego, California -- Mailing list and web hosting services > --------------------------------------------------------------------- > To REMOVE yourself from this mailing list, send an E-Mail message > to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') > and in the message BODY, include a line containing: UNSUB > ORACLE-L (or the name of mailing list you want to be removed > from). You may also send the HELP command for other > information (like subscribing). > -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Matthew Zito INET: [EMAIL PROTECTED] Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
