Hi!
I'm trying to send custom email from plugin using JIRA Core 7.7.1 and SDK-6.3.10.
Using code from https://community.atlassian.com/t5/Answers-Developer-Questions/jira-7-send-email-plugin-development/qaq-p/469543 doesn't help, because I can't figure out how to import class SingleMailQueueItem. Tryed add to pom.xml dependency:
<dependency>
<groupId>com.atlassian.mail</groupId>
<artifactId>atlassian-mail</artifactId>
<version>2.8.6</version>
</dependency>
helps to build plugin without errors through atlas-run command, but JIRA web page returns HTTP ERROR 404 and stops write log on "Type Ctrl-C to exit" row.
Can somebody explain, how to import SingleMailQueueItem correctly, or give working example of send mail code?