I setup some custom email notification at Post-function using Scriptrunner and even though the Outgoing Mail server is disabled, Scriptrunner is able to bypass that and still send emails.
I want to add a simple if statement and check if the Outgoing Mail server is Active or Disabled. Is there any way to do that using Scriptrunner?
Thank you!