How do you handle sandbox refreshes when you have ...
# general
m
How do you handle sandbox refreshes when you have a large number of searches/reports/script-resukts that are sent out via email? I always disable email in the sandbox as soon as the sandbox has been refreshed, but since the refresh takes so long, it can sometimes be difficult to time exactly when it is complete. Is there any way to have email automatically disabled before performing the refresh?
g
Isn't that controlled by Setup->Company->Email Preferences under Sandbox and Release Preview? I would think that would handle searches/reports at least. If scripts have hard coded emails that could still be something but doesn't a refresh disable scheduled scripts as well? Haven't ran into email issues out of our SB or RP so curious what I should look out for.
m
Yes, I have that correctly checked but I have seen mail go out anyways a couple of times
g
Do you know the source of the emails that go out?
n
Are you sure they "go out" and aren't just stored against the relevant entity in the messages subtab? That's typically how it works with SandBox AFAIK.
m
Yes, 100% sure.