2

My app sends an email to the installer via a PostInstall script, but whenever someone tries to install my app in a Sandbox, the script fails.

I'm wondering if Sandboxes require different setup? Could this also fail if Email Deliverability is set to "No Access"? (Standard in SF sandboxes now)

Thanks!

Ben

1
  • 1
    I think thats the reason. Email Deliverability Jul 18, 2013 at 19:25

2 Answers 2

4

I think you've got this one, if the email deliverability is off (which is the norm for sandboxes) you're apps email won't go anywhere. You might look at using a call out instead.

0
Go to Setup --> Email Deliverability --> Access Level.

If you are sending email outside salesforce then set Access Level to 'All email'& save configuration.

By default in sandboxes, Access level is set to 'System Email only'. So post installation script fails & so package installation/upgrade.

You must log in to answer this question.

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