You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Problem sending emails in Apex using email delivery in an autonomous database

I followed the guide on how to use the email delivery service in Apex, but I get an error with the count=0 error in my test environment. I followed all the steps:

  • Create a user for SMTP credentials
  • Add it to a group and assign email sending policies
  • Configure SMTP credentials in Apex
  • Add it to the approved senders list
    I have a dev environment where the exact same thing has been done, but it can still send emails.

And when I run the script, I get the following error:

BEGIN
APEX_INSTANCE_ADMIN.VALIDATE_EMAIL_CONFIG;
END;
/

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!