Tom,
If you're mailing from Perl, why not just use 'use Mail::Sendmail'?
Jared
"Mercadante, Thomas F" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED] 10/03/2003 06:50 AM
|
To: Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]> 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/[EMAIL PROTECTED]
> [mailto:Murali_Pavuloori/[EMAIL PROTECTED]
> 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/[EMAIL PROTECTED]
>
> 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: [EMAIL PROTECTED] (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: [EMAIL PROTECTED]
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: [EMAIL PROTECTED] (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: [EMAIL PROTECTED]
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: [EMAIL PROTECTED] (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).