Print this page

Change recipient of an apex error email

Knowledge Article Number 000213146
Description When the runtime error occurs and the end user clicks the "email us" link on error message then email is sent to a particular user.
Is there a way to change the setting so that the user does not get email?

Runtime Error VF Page
Runtime exception messages (which is what the "Developer script execution" emails are about) always get sent to the 'Last Modified By' user of the Apex class that generates the exception. The only way to disable those emails is to have another user update the Apex class(es) in question. 

On the user record there is a check box entitled 'Send Apex Warning Emails' ,  check this for the new user and un-check it for your user.



promote demote