How to send mail from OS

Required Package must run : utl_smtp.sql which resides under $ORACLE_HOME/rdbms/admin.


Step 1: Create table (mail Configuration table)

Table Name: mail_conf
CREATE TABLE SYS.EMAIL_MESSAGE
(
JOB_ID NUMBER,
RECIPIENT VARCHAR2(200 BYTE),
SENDER VARCHAR2(200 BYTE),
MESSAGE CLOB
)

Comments

Popular posts from this blog

Supported oracle database upgrade path

Oracle Linux Server 6.0 readiness for Oracle Binary

11.2.0.1 oracle installation on Oracle Linux 6