4

I am writing a trigger in a sandbox, and am sending an email through the sandbox. I've added a the Account Name to the Subject in my trigger.

When the email is sent from the trigger, Salesforce appends "Sandbox:" before the subject I wrote in apex.

Is there a way to remove the "Sandbox:" subject from emails send out of a sandbox?

8

This is a standard Salesforce functionality to Identity email send from Salesforce.

Once you send email from Production this Sandbox is automatically removed but in Sandbox this is not possible.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.