ora-24247

ORA-24247: network access denied by access control list (ACL) while sending email oracle

耗尽温柔 提交于 2019-12-02 01:36:40
i have done all the activity i.e mention below, please tell which step / activity i am missing. BEGIN DBMS_NETWORK_ACL_ADMIN.CREATE_ACL( acl => 'apex_user.xml', description => 'access to apex email', principal => 'DBUSER', is_grant => TRUE, privilege => 'connect', start_date => SYSTIMESTAMP, end_date =>Null ); COMMIT; END; BEGIN DBMS_NETWORK_ACL_ADMIN.ADD_PRIVILEGE( acl => 'apex_user.xml', principal => 'DBUSER', is_grant => true, privilege => 'resolve' ); COMMIT; END; BEGIN DBMS_NETWORK_ACL_ADMIN.ASSIGN_ACL( acl => 'apex_user.xml', host => 'smtp.gmail.com', lower_port =>587, upper_port =>587 )