Skip to main content

This is a follow-up question from my previous post Salesforce Apex Toolkit cannot override Email subject from Docusign Envelope template


Basically I needed to disable option “Custom email and language for each recipient” so that I can dynamically set the email subject and text using Salesforce Apex Toolkit.

Now the issue is, the email is always sent in English.
 

How do I set the default email language, with / without Salesforce Apex Toolkit? 

Hi ​@whaliim,

To disable the option “Custom email and language for each recipient”

  1. As an admin, log in to your docusign.com account, then open Settings > Sending Settings.

  2. Uncheck the checkbox next to "Enable custom email and language for each recipient," then click Save.

     


Hi ​@Islam.Hassanein, thanks for your reply. I am not sure if this answers my question. Is there any further steps that I could do to set default email language to another language, for example German?


If I enable “custom email and language for each recipient”, I could set the language to German, but I cannot change the email text and subject programatically via Apex Toolkit. Because the email subject and text from the settings will always overwrite my changes in Apex.

 

What I want to achieve:

  1. Dynamic Email Subject and Email Text via Apex Toolkit (Done)
  2. Set Default Email language to German (?)

Kind Regards