I have scheduled a PL/SQL procedure. I want to send the status of the PL/SQL procedure (whether it is successful or has any error messages) to my email address.
I saw some ways of sending pre-defined templates of emails using UTL_MAIL
. But how can I get the status of my procedure into an email?
Send an e-mail at the end of the scheduled stored procedure, e.g.