Hi,
We have the scriptrunner plugin installed allowing us to define custom rest endpoints. I want to implement an endpoint which will test the connectivity of an incoming mail server defined in our JIRA instance.
I see that there is a class which seems like it would help me do exactly that, com.atlassian.jira.plugins.mail.webwork.VerifyPopServerConnection
I had two questions regarding this
1. Would using this class be the proper way to test the connectivity of the incoming mail server?
2. If this is the right class, how would I go about getting an instance of this class?
Thanks