Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Send Mail in Unix

RE: Send Mail in Unix

From: Anderson, Brian <andersob_at_darton.edu>
Date: Thu, 13 Feb 2003 09:49:17 -0800
Message-ID: <F001.0054C400.20030213094917@fatcity.com>


I use mutt which has the option to attach a file.

mutt -s 'subject' -a filename user_at_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:NDATFM_at_labor.state.ny.us]
> 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: andersob_at_darton.edu

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: ListGuru_at_fatcity.com (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).
Received on Thu Feb 13 2003 - 11:49:17 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US