Skip to content

DocuSign eSignature for Salesforce Essentials – How to send Custom Email Message with your Envelope

INTRO

Hi everyone, this will be a small continuation of the previous post on DocuSign and ApexToolkit where I have showed how to implement custom requirements with the help of DocuSign Essentials and Apex programming.

SOLUTION

In this post, I wanted to show how you can control the email message that is generated from the apex toolkit, as I spend a good amount of time trying to solve this problem on my own.

As usual, the answer is obvious once you figure it out but it took me a while to understand how to navigate the DocuSign documentation until I found the following method: global Envelope withEmail(final String emailSubject, final String emailMessage).

Below quick snippet of code that adds the subject and body to your Envelope.

Hope this is helpful.
RESOURCES: