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: Sending results of scripts via SMTP

RE: Sending results of scripts via SMTP

From: William Rogge <William_Rogge_at_voltek.com>
Date: Tue, 26 Dec 2000 11:39:30 -0500
Message-Id: <10722.125327@fatcity.com>


Since you are running on a UNIX platform, do as we do.

Send the output of the job to a file (ex: job1.lst) then use the following command:

mailx -s "Message Subject" recipient_mail_address <job1.lst

This uses the UNIX mailer and works quite well for us.

-----Original Message-----

From:	paquette stephane [SMTP:stephane_paquette_at_yahoo.com]
Sent:	Tuesday, December 26, 2000 10:11 AM
To:	Multiple recipients of list ORACLE-L
Subject:	Sending results of scripts via SMTP

Hi,

There is nothing automatic at this client, I want to send the results of various jobs to an email address. I've start reading about smtp .

This is on Solaris 2.7. What I do is :
telnet smtp server
mail from: ...
rcpt to: ...
data
...
...

.
quit

When doing it manually it works, I'm trying to do it within a script without success.

How do I send stuff within a script ?
TIA



Stephane Paquette
DBA Oracle
stephane_paquette_at_yahoo.com

Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products. http://shopping.yahoo.com/
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: =?iso-8859-1?q?paquette=20stephane?=
  INET: stephane_paquette_at_yahoo.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
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 Tue Dec 26 2000 - 10:39:30 CST

Original text of this message

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