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
Komal SethiKomal Sethi 

How to write a trigger when new contact is create & update, send email template to user enter email id in Contacct Field

How to write a trigger when new contact is create & update, send email template to user enter email id in Contacct Field
ANUTEJANUTEJ (Salesforce Developers) 
Hi Komal,

Greetings!!

I found the below link where in there is a similar implementation I think it would be helpful for your scenario, please change it according to your usecase so that it can be resilient to the changes you may make in the future.

>> https://developer.salesforce.com/forums/?id=906F0000000BYT4IAO

In case if this was helpful can you please choose this as the best answer so that it can be used by others in the future.

Regards,
Anutej
Komal SethiKomal Sethi
Hi, I have already see but This code is not working