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

Sending VF Email to each Record's Owner

I have a WF which sends out an email when a date is entered.

WF-Action is VF Email Template and it works fine too.


My scenario is:

I have an Account under which an Opportunity is created.

I enter a date and email is sent out.

I need to send this Email to Account -"owner" and "salesperson", these 2 field are there in the Account Object.


Help on this?

Sorry.. wanted to know a bit more.. you want the email to be sent out to the account owner and 2 fields on the account object when an opty is created?