function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
yudhvirmoryudhvirmor 

Email to Sales Team

I want to send an email to all users when some user adds them to sales team of an opportunity.  Standard workflow is not going to work because reciever can be some user or can be member of default sales team, we have more than 200 sales teams. What are the other options available?

Rasmus MenckeRasmus Mencke

You can use Apex code to send these emails out and use a custom button, to a visualforce page, pass in the sales team to the Apex Controller and send an email via to API to them.