Solved

how do i send emails using PL/SQL

Posted on 2012-03-26
4
314 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

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…
Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.
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.
Suggested Courses

628 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