Skip to Content
Oct 01, 2012 at 07:52 AM

Script to send email to all users of a user group dynamically



I require to send custom email notification from a Sourcing Script to a Sourcing Group (All the users in a particular Group). This is required at the 'save' event of Supplier registration request creation via workflow.

I have been able to send mail to a particular email address from the script on supplier registration request when a new supplier registers from external url. Now I want this email to go to email addresses of all the users of a particular group.

Can someone please guide from java coding perspective on how to achieve this?

Thanks in advance.