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: Richard Ji <richard_at_letsplay.com>
Date: Tue, 26 Dec 2000 11:20:02 -0500
Message-Id: <10722.125324@fatcity.com>


You can use the mailx command to send. You can either do:
$mailx -s "SUBJECT" dba_at_whatever.com < message_file
or
$mailx -s "subject" dba_at_whatever.com << EOF
message here
EOF Richard Ji

-----Original Message-----
From: root_at_fatcity.com [mailto:root_at_fatcity.com]On Behalf Of paquette stephane
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:20:02 CST

Original text of this message

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