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 email via pl/ sql using query

RE: sending email via pl/ sql using query

From: אדר יחיאל <adary_at_mehish.co.il>
Date: Fri, 01 Feb 2002 02:01:26 -0800
Message-ID: <F001.00402F4A.20020201010528@fatcity.com>

Hello Suhen

We are using smtp to send mail with attached file. Maybe you can write the letter to file and send the file as attachment.

Yechiel Adar, Mehish Computer Services
adary_at_mehish.co.il

> -----Original Message-----
> From: Suhen Pather [SMTP:Suhen.Pather_at_strandbags.com.au]
> Sent: Fri, February 01, 2002 5:25 AM
> To: Multiple recipients of list ORACLE-L
> Subject: sending email via pl/ sql using query
>
> List,
>
> I am trying to send email from Oracle when a table is updated.
> The message must be a dynamic one, so hard coded message will not be
> allowed.
>
> I have created a trigger when the table is updated - that works
> I am using UTL_SMTP to send emails. - that works
> However this procedure (send_mail) only has hard-coded messages. - I need
> it to be a dynamic message, from a query which I already have.
> The query will return more than 1 row.
>
> - So the trigger executes when a column is updated.
> - A query would be executed giving the required information to be mailed.
> - email program must kick off, emailing the results of the above query.
>
> Any ideas how to do this.
>
> Thanks & Regards
> Suhen
>
>
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> This e-mail was scanned by the eSafe Mail Gateway
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: =?iso-8859-8?Q?=E0=E3=F8_=E9=E7=E9=E0=EC?=
  INET: adary_at_mehish.co.il

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 Fri Feb 01 2002 - 04:01:26 CST

Original text of this message

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