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
Sangeetha MadrasiSangeetha Madrasi 

Trigger in email

Hi 

Condition : While sending an email from cases the from address should be a particular address selected from the from addresses option.If that particular address is not selected then the validation message should display saying "pls select "<email address"> for sending an email "

How can i achieve with trigger
ManojjenaManojjena
Hi Sangeetha,

Try to write a trigger in EmailMessage object ,where you can give condition like from address .

Let me know if  it helps !!
Thanks
Manoj
Sangeetha MadrasiSangeetha Madrasi
Hi Manoj 

Can you please explain with code