You need to sign in to do that
Don't have an account?
Salesforce Internal Error - Email
I did a refresh of my sandbox yesterday and re-applied code that was working in the sandbox previously.
It was probably 6 months since the previous refresh.
This statement then caused an "Internal Salesforce Error".
Messaging.reserveSingleEmailCapacity(1);
So, I tried Execute Anonymous in my SANDBOX - Messaging.reserveSingleEmailCapacity(1); - And it gives me an "Internal Error".
I try this statement using Execute Anonymous in Production and it works.
The issue is not the code, but the environment.
Sandbox is in CS3 instance.
Production is NA5 instance.
Any ideas?
Rudy
Found the issue.
I needed to select "All Email" in the Email Administration - Deliverability section of setup.