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 (62.0k●3●36●43)
| 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.
|