A simple example of how to enable the EAM package 07mail follows.
In this example,
host = the name of the smtp server
lower_port = the port number for the smtp server, usually the port number is 25
principal_name = the Oracle username for the EAM user.
Review the Oracle Database Security Guide section named "Managing Fine-Grained Access in PL/SQL Packages and Types" to determine the configuration that is consistent with your security goals.