9

In all new sandboxes "Email Deliverability" is set to "System Email Only". I am writing a SandboxPostCopy class to run for all new sandboxes, and want to use that class to change deliverability to "All Email". Is that possible to do using apex, or can only be done manually?

1
  • 5
    I see you've already found this post and also this Idea. You've done your research, at least. You should post these links in your question so that much is clear. About all we can do is vote on the Idea ourselves.
    – Adrian Larson
    Commented Jul 11, 2016 at 20:23

1 Answer 1

1

As of August of 2024 changing the "Email Deliverability" setting to "All Email" programmatically in Apex is not directly supported.

This setting is typically adjusted manually through the Salesforce UI, by navigating to Setup -> Email Administration -> Deliverability.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .