From 85677a3ff189767b89fb8883e79a621f43edd58f Mon Sep 17 00:00:00 2001 From: Paul Huliganga Date: Wed, 25 Feb 2026 23:59:54 -0500 Subject: [PATCH] style: visually separate template bodies with '\n\n---\n\n' divider in email body --- .../main/default/classes/DocusignCompositeEnvelopeBuilder.cls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composite-envelope-builder/force-app/main/default/classes/DocusignCompositeEnvelopeBuilder.cls b/composite-envelope-builder/force-app/main/default/classes/DocusignCompositeEnvelopeBuilder.cls index f009be2..920aed3 100644 --- a/composite-envelope-builder/force-app/main/default/classes/DocusignCompositeEnvelopeBuilder.cls +++ b/composite-envelope-builder/force-app/main/default/classes/DocusignCompositeEnvelopeBuilder.cls @@ -122,7 +122,7 @@ global with sharing class DocusignCompositeEnvelopeBuilder { } } String envelopeSubject = combinedName; - String envelopeBody = bodyParts.isEmpty() ? '' : String.join(bodyParts, '\n\n'); + String envelopeBody = bodyParts.isEmpty() ? '' : String.join(bodyParts, '\n\n---\n\n'); myEnvelope = myEnvelope.withEmail(envelopeSubject, envelopeBody); // Send the envelope