RAM: How to send an email from within a custom policy
Hello, Is there a way to send an email from within a custom RAM policy? I need to send an email to certain users as soon as a custom policy passes. Thanks! |
One answer
You can always extend the com.ibm.ram.repository.policy.SendEmailPolicy
The following is its main test() code - figure out who do you want to send to, and the sendMail() call. It should be in the com.ibm.ram.repository.jar in the WEB-INF/lib of the war. try { |
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.