Send Email for Java API
Hello Team,
I am trying to send email using Java API in follow-up action, but i am getting following compile time error on mymailerService.sendMail()
The type javax.mail.MessagingException cannot be resolved. It is indirectly referenced from required .class files
I am using the following code:
IMailerService mymailerService = getService(IMailerService.class);
I have updated pre requisits in plugin.xml as well
<prerequisites>Please help me, Thanks in advance |
One answer
Ralph Schoon (63.4k●3●36●46)
| answered Jan 27 '16, 11:04 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
You are missing some dependencies in the meta.inf. See Due Date Notifier – an Asynchronous Task Example for the dependencies that did it for me.
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.