I use mutt which has the option to attach a file. mutt -s 'subject' -a filename user@mailserver < /dev/null
would send an attachment with no body, put a file instead of /dev/null if you want a body for the message. With mailx in unix, I've been told it can be done by piping through uuencode or something, but I haven't done that. I'm also sure it can be done with perl, some of the perl guru's on the list might be able to provide details. > -----Original Message----- > From: Mercadante, Thomas F [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 13, 2003 10:44 AM > To: Multiple recipients of list ORACLE-L > Subject: Send Mail in Unix > > > All, > > I'm trying to send an email attachment (Oracle Tablespace > Report) from a Sun > Unix box to myself when the batch job runs. > > Anybody been able to do this? I can send the text of the > file, but what I > really want to do is to send the file (it's an Excel Spreadsheet). > > thanks in advance. > > Tom Mercadante > Oracle Certified Professional > -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Anderson, Brian 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).