Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: How can I send an email from a stored procedure ?

Re: How can I send an email from a stored procedure ?

From: <Kenneth>
Date: Tue, 17 Sep 2002 12:56:08 GMT
Message-ID: <3d87251f.19829903@news.capgemini.se>


On Mon, 16 Sep 2002 20:33:39 -0300, "Javier Villegas" <jvillegas_at_impsat1.com.ar> wrote:

>Hi
>
>I need to send an email from a stored procedure if one result is grater than
>10
>
>how can I do that ?
>
>And if I need to run this stored procedure ever 5 minutes ?
>
>thanks in advance
>
>
>
>
>

Hi Javier,

By means of the UTL_SMTP supplied PL/SQL package and access to a SMTP server. See the online doc.

Run it either with DBMS_JOB or an OS job scheduling utility, i.e. cron on UNIX and "Scheduled tasks" on NT.

Received on Tue Sep 17 2002 - 07:56:08 CDT

Original text of this message

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