Create an automated message in Email Experience Manager

The “Send Email” submit action works in collaboration with Email Experience Manager (EXM).

Learn here, how to setup an email to be used for the send mail action.

Creating a new automated campaign

First, go to Email Experience Manager and create a new automated message.

../../../_images/SFE-EmailFixed-ExmCreateCampaign.png

Take any of the available templates. In the best case, some custom tailored templates are provided by the developers for your site.

../../../_images/SFE-EmailFixed-ExmChooseTemplate.png

Fill in the general info like “from” name and email.

../../../_images/SFE-EmailFixed-ExmGeneralInfo.png

Use the template to fill in the body of your email message.

../../../_images/SFE-EmailFixed-ExmMessage.jpg

Finally, we need to activate the message in the delivery tab. Only activated message will be available to use on the “Send Mail” action.

../../../_images/SFE-EmailFixed-ExmActivate.png

Using form values in the email

To print the form data entered by the visitor in the email, you must use tokens. These tokens will be replaced with the actual values when someone submits the form and an email gets send out.

The form fields can be referenced individual, field per field, or you can use one token that will print all values from the form in one token.

Using individual tokens

In the forms module, each field you add should be given a name.

../../../_images/SFE-Tokens-FieldName.png

Use this name to contruct the token.

Token format:

$form_fieldname$ where fieldname should be replaced by the name of the field.

So in this case this would be $form_firstName$