Solved

how do i send emails using PL/SQL

Posted on 2012-03-26
4
309 Views
Last Modified: 2012-04-05
How can i send emails using PL/SQL ? are there any prerequisite steps required to send out emails using database ? Thanks.
0
Comment
Question by:dbmechanic
  • 3
4 Comments
 
LVL 23

Assisted Solution

by:David
David earned 167 total points
ID: 37767786
This is a previously asked question, try querying E-E and you'll have an abundant answer:
http://www.experts-exchange.com/searchResults.jsp?searchTerms=pl%2Fsql+email&componentHtmlId=basicSearch&searchType=10
0
 
LVL 73

Assisted Solution

by:sdstuber
sdstuber earned 333 total points
ID: 37767900
0
 
LVL 73

Accepted Solution

by:
sdstuber earned 333 total points
ID: 37767917
as for pre-requisites, it will depend on your version and exactly what method you are using.

for instance, if you are using utl_mail you need to set a few init parameters (see articles above)

if you are on 11g you need to open access control lists for your smtp server (at minimum)

http://www.experts-exchange.com/Database/Oracle/A_8429-How-to-use-Access-Control-Lists-in-Oracle.html

http://www.experts-exchange.com/Database/Oracle/A_9074-How-to-use-Network-Access-Control-Lists-in-Oracle.html

ACL's require XDB to be installed (which it should be by default in 11g anyway)


if you are on 8i or 9i you will need java installed, which is not a default
0
 
LVL 73

Expert Comment

by:sdstuber
ID: 37814917
why the B?  penalty grades are not appropriate if you have not requested additional information
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction A previously published article on Experts Exchange ("Joins in Oracle", http://www.experts-exchange.com/Database/Oracle/A_8249-Joins-in-Oracle.html) makes a statement about "Oracle proprietary" joins and mixes the join syntax with gen…
How to Create User-Defined Aggregates in Oracle Before we begin creating these things, what are user-defined aggregates?  They are a feature introduced in Oracle 9i that allows a developer to create his or her own functions like "SUM", "AVG", and…
This video explains at a high level with the mandatory Oracle Memory processes are as well as touching on some of the more common optional ones.
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now