The directstandardemail parameter shows a preview of a Salesforce standard email template before the email is sent. Users can check the content and structure of the email before it goes out.

Syntax

As an Other Parameter on the solution's Assign Behaviors page:

Parameter Name:  directstandardemail
Parameter Value: 1

In the solution button's URL (Docs Made Easy adds each Other Parameter to the button URL for you; see Parameters explained):

&directstandardemail=1

Values

ValueEffect
1Shows a preview of the Salesforce standard email template before the email is sent.

The solution must use a Salesforce standard email template (the Standard Email Template field).

Where to add it

  1. On your solution's Assign Behaviors page, click Other Parameter in the sidebar, then click Add Other Parameter.

  2. Enter directstandardemail in Parameter Name and 1 in Parameter Value, then click Save.

    Add Other Parameter window with directstandardemail as the name and 1 as the value

Example

  • Input: a solution that uses a Salesforce standard email template.
  • Parameter: directstandardemail=1.
  • Output: before the email is sent, the user sees a preview of the standard email template and can check its content and structure.

directstandardemail doesn't send the merged PDF in background mode. To do that, use directemailsender, which works with custom Docs Made Easy email templates. See send the document as an attachment in background mode.

Works in

directstandardemail is set on the solution, not written in a template. It previews a Salesforce standard email template before the email is sent. The email is sent through Salesforce, so Salesforce email limits apply, and the sent email is recorded in the record's activity history.

Common errors