Send Email

The “Send Email” Post Submit Action allows sending emails to one or some users, sending attachments, selecting options dynamically, using CC/BCC, deactivating auto-formatting, and more.

The “Send Email” Post Submit Action can be used separately or as part of another Post Submit Action (i.e., it allows sending a link for verification of a user, sending a confirmation email with booking details, or sending a PDF file after submission of a form, etc.).
More details about managing the Post Submit Actions can be found in the Post Submit Action Controls Overview.

Adding the “Send Email” Post Submit Action

To set the “Send Email” Post Submit Action, open the JetForm settings tab, scroll down to the Post Submit Action section, and press the “+ New Action” button. 

adding a new post-submit action

Then, pick the “Send Email” option in the newly-appeared Add new action pop-up. 

jetformbuilder add new action pop-up
NOTE

Press the “Documentation” link below the Send Email text to be redirected to the JetFormBuilder documentation base.

Once the “Send Email” Post Submit Action is picked, the Edit Send Email pop-up will appear.

Editing the “Send Email” Post Submit Action Settings

The Edit Send Email pop-up appears if you select the corresponding Post Submit Action while creating it or when you press the pencil-shaped “Edit Action” button on the “Send Email” Post Submit Action panel.

In this tutorial, we first created a new form and then added the “Send Email” Post Submit Action.

edit send email post-submit action

The Edit Send Email pop-up has the following settings:

  • MAIL TO 一 a required field to select who will receive the message. It includes the following options:
    • Admin email 一 an option that, if selected, allows sending email to the admin email address configured in General Settings of your site;
    • Email from submitted form field 一 an option that, if selected, enables the FROM FIELD drop-down list 一 a menu that allows selecting a form’s field for taking the email from. 
    • Custom email 一 an option that, if selected, activates the EMAIL ADDRESS text field where the email address(es) can be entered to which the message will be sent.
the mail to field of the send email post-submit action
  • Use CC/BCC 一 a toggle that enables the CC ADDRESS FROM and BCC ADDRESS FROM drop-down lists, which allows sending the secondary and hidden recipients of the email, respectively. These drop-down lists have the “Admin email,” “Email from submitted form field,” and “Custom email” options that provide the same functionality as the corresponding MAIL TO list options.
use cc and bcc toggle of the send email post submit action
  • REPLY TO 一 a drop-down list that allows setting the email that you would like to use for receiving answers. These drop-down lists have the “Admin email,” “Email from submitted form field,” and “Custom email” options that provide the same functionality as the corresponding MAIL TO list options.
  • SUBJECT 一 a text field that is intended to enter the subject of the letter that the user will receive. It can be simple text, and you also have the option to insert values from the fields of the submitted form. To do this, click the “wrench” icon and choose the desired macros.
adding macros to the send email post-submit action
  • FROM NAME and FROM EMAIL ADDRESS 一 text fields for inserting the name that will appear as the email’s sender and the email address that will be added as the address of the letter sender, respectively. Both these fields allow text to be entered or data to be inserted from the form’s fields by pressing the “wrench” icon and picking the needed field from the enlisted ones.
  • CONTENT TYPE 一 a drop-down list allowing choosing if the message will be Plain Text or an HTML code:
    • Plain Text 一 an option that specifies that the email content text will have no images and/or other multimedia;
    • HTML 一 an option that allows using rich text, images, and other multimedia elements in the email content. When this option is selected, the Disable Auto-Formatting toggle is activated, which disallows the default to separate the email content text into paragraphs and turn links into clickable hyperlinks;
  • CONTENT 一 a textarea field intended for adding the body of the email. It allows adding texts, HTML code, or data from form fields. To add macros to insert the form field data, click the “wrench” icon to the right of the current option name.
disable auto-formatting toggle of the send email post-submit action
  • ATTACHMENT 一 a drop-down list for selecting the field from which the attachment will be taken.
selecting a form field for attachment
NOTE

To attach a file to the email, create a Media Field in the JetFormBuilder form. Select this form field to get the attachment from. Besides, the attachment will only be added to the email if the “Insert Attachment” option was initially checked in the Media Field. Also, be aware that the files from the Repeater Field should not be attached in the Send Email action because this function isn’t intended for this field type.

Finally, to save the changes, press the “Update” button in the left bottom corner of the pop-up.

Setting Conditions

To set the conditions when the “Send Email” Post Submit Action should be performed, press the “criss crossed arrow” icon on the “Send Email” Post Submit Action panel. If no conditions are set, the action will be performed by default after submission.

the edit condition button of the send email post-submit action

For an in-depth understanding of how to set one or some conditions, customize their options, and meet requirements, read the Conditions overview.

Deleting and Turning Off

For temporary deactivation of this action, click the “Turn off/Turn on” button (the “closed eye” icon) on the “Send Email” Post Submit Action panel. To delete this action, press the “Delete Action” button (the “recycle bin” icon) on the “Send Email” Post Submit Action panel. 

the send email post-submit action deleting and turning off buttons

Setting Verification

To allow user verification via email, press the “+ Verification” button on the “Send Email” Post Submit Action panel.

the verification button of the send email post submit action

Then, the “Verification” Post Submit Action panel will be added above the “Send Email” Post Submit Action panel. Press the “Edit Action” button on the “Verification” Post Submit Action panel. The Setting Up Email Verification tutorial explains in detail how to customize the verification settings, define specific events, and send a confirmation email with a verification link.

the verification post submit action added

In turn, the “Runs on verification” warning text and the “Run always” link will be added to the “Send Email” Post Submit Action panel. Press the “Run always” link to separate these actions. Then, the “DEFAULT. PROCESS X” text will be added under the “Send Email” text.

the verification and send email post-submit actions separated

That’s all. Now you know more about the “Send Email” Post Submit Action settings of the JetFormBuilder WordPress plugin.