granted procedure gets ORA-24247
One procedure uses utl_smtp. We have set up an ACL with the two users, A and B, having connect privilege.
Procedure runs under user A who creates it. User B is granted execute privilege.
User B gets the ORA-24247 error.
User B creates the same procedure. The procedure runs sucessfully.
I have tried creating the procedure using both "AUTHID DEFINER and AUTHID CURRENT_USER.
Would hate to have to create the same procedure in both schemas.