Solved

how do i send emails using PL/SQL

Posted on 2012-03-26
4
312 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 74

Assisted Solution

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

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 74

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

Suggested Solutions

Title # Comments Views Activity
join 2 views with 5 conditions 3 61
Oracle Pivot Question 8 71
SQL query question 8 93
PL SQL Search Across Columns 4 53
Truncate is a DDL Command where as Delete is a DML Command. Both will delete data from table, but what is the difference between these below statements truncate table <table_name> ?? delete from <table_name> ?? The first command cannot be …
I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that use…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.

830 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