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 [EMAIL PROTECTED] > -----Original Message----- > From: Suhen Pather [SMTP:[EMAIL PROTECTED]] > 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: [EMAIL PROTECTED] 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: [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).