we are using JIRA as a helpdesk system so we are sending mails to non JIRA users using the fabulous Script Runner plugin. Although we are able to set a different sending mail address and name per workflow the smtp mail server is the same.
Is it possible to use a different mail server using script runner?
Any idea how to implement it?
Thanx in advance,
Just wondering why you want to use different mail servers per project?
The code that gets the mail server is just: mailServerManager.getDefaultSMTPMailServer() - you could modify it to get a mail server by ID depending on workflow or project.
I know it sounds weird, but the outgoing mails are for clients of different companies and services.
So i want the original message that goes to clients to come from a mail server related to the appropriate company. At the moment emails for both clients (companyA and companyB) are sent from JIRA's default mail server which has a name like:
So i was thinking, in order to avoid that, to use different mail servers per project or workflow.
Thanks for the help once again.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...
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
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs