O'Reilly logo

Oracle APEX Cookbook - Second Edition by Marcel Van Der Plas, Michel Van Zoest

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Sending mail via APEX

Sending mails is an important feature in a web application. You can use it when you want to confirm something, you want to send information to the user, or the user wants to send your company an e-mail with an inquiry. In this recipe we will make a section on the home page where users can request information via e-mail.

Getting ready

Your database should be able to send outbound e-mails. Therefore, check that your database is configured for sending e-mails.

How to do it...

  1. In the Application Builder, go to page 1 of your application.
  2. In the Regions section, click on the Add icon to create a new region.
  3. Select HTML.
  4. Select HTML again. This time it's for the type of HTML region.
  5. Enter a title for this region. For example, Contact

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required