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??
Atlas Camp is our developer event which will take place in Barcelona, Spain from the 6th -7th of September . This is a great opportunity to meet other developers and get n...
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