UTL_SMTP package for sending emails

Posted on March 10th, 2008.

On the otn forum, I have seen a number of posts about users trying to send emails from the database. For those that don’t know it yet, there is the utl_smtp package that can be used for this purpose.

Setup is very easy and usage is quite straightforward. Either use a procedure or a function and make use of the basic commands (smtp connection, message setup, message sending and smtp deconnect). If you need to send UTF characters, you will have to use the raw command.

For further info, check:

www.oracle.com/technology/sample_code/tech/pl_sql/htdocs/Utl_Smtp_Sample.html 

www.psoug.org/reference/utl_smtp.html

www.ss64.com/orap/UTL_SMTP.html

Similar Posts:

Make a Comment

Make A Comment: ( None so far )

blockquote and a tags work here.

About

Enterprise IT Tools and Thoughts, dealing mainly with Oracle Developer tools (Forms & Reports)

By Hafed Benteftifa

Recent Comments

RSS

Subscribe Via RSS

  • Subscribe with Bloglines
  • Add your feed to Newsburst from CNET News.com
  • Subscribe in Google Reader
  • Add to My Yahoo!
  • The latest comments to all posts in RSS