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
Murali KrishnaMurali Krishna 

regarding an email notification

hi everyone ,i got a requirement below

in my contact object,i have a field ‘email’.whenever a email address of contact is updated we want send an email notification to contact stating that your email address has been changed?what will the approach to achieve?

Yoganand GadekarYoganand Gadekar

Hi,

You can do this using simple workflow. Create workflow rule on contact, keep criteria as ischanged(Email) and your workflow action will be email alert(Select appropriate email template you want).

 

Thanks,

Salesforce examples and learning at :

Cloudforce4u

Bhawani SharmaBhawani Sharma
Yoganand suggestion is good, but I don't think so if you would be able to use the old email address in workflow email alert.
So you will have to store old email address somewhere. Create a separate email field and copy the value from Email field to old email field when it changes. Now create a new workflow rule and execute it if Old Email address is nut null and send email to contacts.