Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: how to send mail from windows command prompt?
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).
>
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