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

Installation of Oracle10g on LINUX

RMAN compression

Database upgrade -11.2.0.1 to 11.2.0.4