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: how to send mail from windows command prompt?

RE: how to send mail from windows command prompt?

From: Mercadante, Thomas F <NDATFM_at_labor.state.ny.us>
Date: Fri, 03 Oct 2003 11:19:26 -0800
Message-ID: <F001.005D1FBF.20031003111926@fatcity.com>


Jared,  

I know you sent me this once before. My problem is that I don't have control of my servers - I'm not the Admin on them. So I can only use the Perl stuff that was installed. And it's very basic stuff. So your suggestion is not available to me.  

thanks  

Tom Mercadante
Oracle Certified Professional

-----Original Message-----
Sent: Friday, October 03, 2003 2:29 PM
To: Multiple recipients of list ORACLE-L

Tom,

If you're mailing from Perl, why not just use 'use Mail::Sendmail'?

Jared

        "Mercadante, Thomas F" <NDATFM_at_labor.state.ny.us> Sent by: ml-errors_at_fatcity.com

 10/03/2003 06:50 AM
 Please respond to ORACLE-L

        
        To:        Multiple recipients of list ORACLE-L
<ORACLE-L_at_fatcity.com> 
        cc:         
        Subject:        RE: how to send mail from windows command prompt?



I use Postie with Perl also. Perl does the log file searches for error and uses postie to send mail.

Tom Mercadante
Oracle Certified Professional

-----Original Message-----
Sent: Friday, October 03, 2003 5:14 AM
To: Multiple recipients of list ORACLE-L

Yes, doing this all the time, all in a Dos window,

Use 'find' to search through your log files, extracting the lines you want to another file, which you can mail to yourself. eg:

find /N "ORA-00001" G:\dos_work\work.log > G:\dos_work\pk_violate.txt

I use a simple dos mail utility called Postie (http://www.ozemail.com.au/~adavison) - been using it for ages, when it was free. Now I think its $25.

peter
edinburgh

> -----Original Message-----
> From: Murali_Pavuloori/Claritas_at_claritas.com
> [mailto:Murali_Pavuloori/Claritas_at_claritas.com]
> Sent: Thursday, October 02, 2003 11:15 PM
> To: Multiple recipients of list ORACLE-L
> Subject: how to send mail from windows command prompt?
>
>
>
> Hello All:
>
> I have setup some scripts that would export the db every day.
> Instead of
> looking through the logs manually every morning, is there a
> way to tail
> (windoze equivalent?) the file and send and email (mailx equivalent on
> windows?) I know this can be implemented in Perl, but I don't
> know perl so
> I am looking for help on Windoze...PLEASE!
>
> I really appreciate your help in this matter.
>
> Thanks,
> Murali.
>
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.net
> --
> Author:
> INET: Murali_Pavuloori/Claritas_at_claritas.com
>
> 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).
>



This e-mail message, and any files transmitted with it, are confidential and intended solely for the use of the addressee. If this message was not addressed to you, you have received it in error and any copying, distribution or other use of any part of it is strictly prohibited. Any views or opinions presented are solely those of the sender and do not necessarily represent those of the British Geological Survey. The security of e-mail communication cannot be guaranteed and the BGS accepts no liability for claims arising as a result of the use of this medium to transmit messages from or to the
BGS. .                            http://www.bgs.ac.uk
********************************************************************* 

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Robson, Peter
 INET: pgro_at_bgs.ac.uk

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).





-- 
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 Fri Oct 03 2003 - 14:19:26 CDT

Original text of this message

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