3476
社区成员
ORA-20001: This procedure must be invoked from within an application session.
begin
apex_mail.send(
p_to => 'to_user@their_company.com', -- change email address
p_from => 'your_email@company.com', -- change to your email address
p_body => 'Main email text goes here',
p_subj => 'APEX_MAIL Package - Plain Text message'
);
end;
select workspace, schemas, workspace_id
from apex_workspaces;
begin
wwv_flow_api.set_security_group_id(workspace_id);
apex_mail.send(
p_to => 'to_user@their_company.com', -- change email address
p_from => 'your_email@company.com', -- change to your email address
p_body => 'Main email text goes here',
p_subj => 'APEX_MAIL Package - Plain Text message'
);
end;