Home » SQL & PL/SQL » SQL & PL/SQL » Mail Notification
Mail Notification [message #655562] Fri, 02 September 2016 02:28 Go to next message
udaykuditipudi
Messages: 8
Registered: July 2016
Location: hyderabad
Junior Member
Hi
How to get the notification if new internal organization is added to the master org (particular organization) in oracle.
Re: Mail Notification [message #655563 is a reply to message #655562] Fri, 02 September 2016 03:05 Go to previous messageGo to next message
Littlefoot
Messages: 21809
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
You could create a database trigger which utilizes UTL_MAIL (or UTL_SMTP).
Re: Mail Notification [message #655564 is a reply to message #655563] Fri, 02 September 2016 03:09 Go to previous messageGo to next message
udaykuditipudi
Messages: 8
Registered: July 2016
Location: hyderabad
Junior Member
hi littlefoot
i am new to that can u please
help in this requirement.
Re: Mail Notification [message #655566 is a reply to message #655562] Fri, 02 September 2016 03:43 Go to previous messageGo to next message
John Watson
Messages: 8931
Registered: January 2010
Location: Global Village
Senior Member
Is this an EBS database? Is so, you could look at using a Workflow or an Alert to invoke the utl_mail code to send the email.
Re: Mail Notification [message #655569 is a reply to message #655562] Fri, 02 September 2016 07:22 Go to previous message
EdStevens
Messages: 1376
Registered: September 2013
Senior Member
udaykuditipudi wrote on Fri, 02 September 2016 02:28
Hi
How to get the notification if new internal organization is added to the master org (particular organization) in oracle.
There is nothing in an oracle database that knows anything about "internal organizations" or "master org". As Littlefoot said, you need to write a trigger or perhaps a recurring, scheduled transaction specific to your application. Or as John suggested, your application (EBS ??) may already have something you could leverage. But that would be specific to your application and beyond the scope of this forum.

As for how to use utl_mail if you end up having to write your own trigger or procedure, you should start with the documentation: http://docs.oracle.com/cd/E11882_01/appdev.112/e40758/u_mail.htm#ARPLS384 Your quick response when Littlefoot mentioned this (only four minutes later)indicates you didn't even bother to look it up for yourself. People are here because they want to help when you get stuck, but it is expected that you show a little initiative . . .
Previous Topic: Query to find special alphabets
Next Topic: Hierarchy view
Goto Forum:
  


Current Time: Sat May 18 15:40:26 CDT 2024