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 - solved!

RE: Send Mail in Unix - solved!

From: Mercadante, Thomas F <NDATFM_at_labor.state.ny.us>
Date: Thu, 13 Feb 2003 11:30:07 -0800
Message-ID: <F001.0054C84F.20030213113007@fatcity.com>


OMG!!! Thanks to all! It actually works!

This is what works for me:

I run a sql script that produces a tab delimited report showing tablespace usage (think of the OEM screen showing all the tablespaces with size, used and free listed).

I then use the following command to send the report to me:

uuencode filename outfile.xls | mailx -s "Dslb1osa Rpt_Tablespaces" tom_at_email_addr

Even though the file is a text file, it still comes along as an attachment!

really cool!

thanks everyone!

Tom Mercadante
Oracle Certified Professional

-----Original Message-----
Sent: Thursday, February 13, 2003 12:45 PM To: Multiple recipients of list ORACLE-L

Mohammed,

thanks, but the -m option does not seem to exist in Sun Unix.

$ mailx -m
mailx: illegal option -- m
Usage: mailx -eiIUdFntBNHvV~ -T FILE -u USER -h hops -r address

                -s SUBJECT -f FILE users

any other ideas?

Tom Mercadante
Oracle Certified Professional

-----Original Message-----
Sent: Thursday, February 13, 2003 12:42 PM To: ORACLE-L_at_fatcity.com
Cc: NDATFM_at_labor.state.ny.us

You mean:

mailx -m -s "Test Message" me_at_somewhere.com << EOF `ux2dos /home/report/tbsp.lst | uuencode /home/report/tbsp.lst`

This is from an HP-UX system

hth

mohammed


Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day http://shopping.yahoo.com
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Mercadante, Thomas F
  INET: NDATFM_at_labor.state.ny.us

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).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Mercadante, Thomas F
  INET: NDATFM_at_labor.state.ny.us

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 - 13:30:07 CST

Original text of this message

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