I tried to send a mail in oracle apex but I am not able to send because of this error
ora-24247: network access denied by access control list (acl)
in mail queue.
The error is due to smtp server settings in "manage instance" I guess
I tried to send a mail in oracle apex but I am not able to send because of this error
ora-24247: network access denied by access control list (acl)
in mail queue.
The error is due to smtp server settings in "manage instance" I guess
You have to configure ACL for your database by executing the following (system permissions would be required)
begin
DBMS_NETWORK_ACL_ADMIN.CREATE_ACL(
acl => '/sys/acls/apex_mail.xml',
description => 'Network permissions for APEX to send emails',
principal => 'APEX_050100',
is_grant => true,
privilege => 'connect');
DBMS_NETWORK_ACL_ADMIN.ASSIGN_ACL(
acl => '/sys/acls/apex_mail.xml',
host => 'XXX.XXX.XXX.XXX');
end;
Update it with the actual IP address or host name of your SMTP server. If you are using APEX version different of 5.1.x please use the APEX schema name for the principal param (instead of APEX_050100)