As far as I am aware you set up an SMTP server externally to JIRA (as shown below)
You would use a single user to authenticate to your SMTP server in this instance. Therefore you would only have one actual SMTP user. Mails would only come from that user and therefore you wouldn't need to verify that this user was present.
In theory you can do what your asking but you'd need to authenticate to your SMTP server to run the command. It's not a straightforward task.
What problem are you trying to solve with this approach? Maybe I can help solve the underlying issue??
Hello! My name is Genevieve Blanch, and I'm the Marketing Manager at RefinedWiki, creators of apps to give teams the tools to customize Atlassian platforms. Currently, 44% of the tech team at Re...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG