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
Sunny GSunny G 

How to send an Email alert to the custom field (i.e. user lookup fields)



I have a custom field in the custom object. That custom field is a lookup field that refers to the User fields.


On editing of a particular field I want an email should get fire to that custom object's field.


Although i have tried using Related Type as Related User. But its not firing email alerts.


Pls help


If you can't create a workflow to do this, then  you will need to write an Apex trigger and use the Messaging class.