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
Max Friel.ax1251Max Friel.ax1251 

Trigger on users to prevent correct e-mail addresses in test orgs...

I wanted to prevent test orgs from having their e-mail addresses updated to valid e-mail addresses so e-mails do not get sent out to everyone in the company.  I can do this for an insert no problem, however the issue with an update is when an update to the e-mail address is requested, the confirmation e-mail is sent out and the change is not commited until after the confirmation link is clicked which is when the record is updated in the user table.  So my question is where is that information stored in the meantime, so maybe I can trigger on that or is there a more effective way to write this trigger?