Configure and Send EMAIL from Oracle Database
SQL> grant execute on UTL_SMTP TO <SCHEMA_NAME>;
SQL> grant execute on UTL_MAIL TO <SCHEMA_NAME>;
SQL> grant execute on DBMS_NETWORK_ACL_ADMIN TO <SCHEMA_NAME>;
UTL_MAIL.SEND (
sender => ‘dba.admin@pakistan.com’,
recipients => ‘abdul.wahid@pakistan.com’,
subject => ‘TEST EMAIL’,
message => ‘Salam, This EMAIL is sent from Oracle Database’);
end;
Author Box
About the Author
Rana Abdul Wahid is an experienced Oracle Database Administrator with expertise in Oracle Database Administration, Oracle Data Guard, RMAN Backup & Recovery, Oracle RAC, Oracle E-Business Suite, Performance Tuning, and High Availability Solutions.
Through this blog, he shares practical Oracle DBA solutions, troubleshooting guides, interview preparation resources, and production-tested best practices for database professionals worldwide.
Comments
Post a Comment