This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.
I see no reason why you can't - as long as you have an existing set up where you can use it, any valid email relay you have permissions to use should work
This sort of thing is probably better directed as a separate question rather than a comment on the video (you'll hit a wider audience than just me (or anyone else who has commented on the video).
Most likely candidate in my mind is that your relay server isn't set up to accept incoming relay requests from your database server. But, again, I'd post this as a separate question with more detail than just the error message you're getting.
In this article, we will see how we can automate the process of moving Oracle metadata to version control system, in my case I am using GIT using a simple shell script to avoid manual intervention.