Email: Body
- Last UpdatedJun 21, 2024
- 3 minute read
You can specify a message Body for the Email in this property window. To open this window, click the button for the 'Body' property.
The following image shows the Email Body property dialog box:

The window has a text editor to enter the body text. You can do this either by entering a discrete value directly in the text editor or by using the Field controls at the top of the window. These controls are described below:
-
The Value type drop down - You can select the type of value here. You can specify Variable, Content, Value, or XMLVariables here.
-
The Value text box/ drop down - You can specify the actual value of the message body. The control displayed depends on the option selected in the first drop down. If you had selected "Value", it will display a text box here. You can enter the body text in this box. If you had selected "Variable", "Content", or "XMLVariables" instead, there will be a drop down instead of the field. This drop down will have the variable collection or content collection or XMLVariables collection from which you can select an appropriate option to assign the body.
-
Append - You can click this button to add the specified value, variable or content to the text editor.
Tip: You can specify the body using a combination of discrete value and variable or content. This helps in personalizing the email body for each actor. For example, you can specify the salutation line in the message body as "Hello <%#Variable.SubmittedBy.name%>,". Here, the string "Hello" must be typed directly in the text editor. The second half of the salutation is a placeholder, which will be replaced by the variable value during run-time. This must be added by selecting the appropriate variable option from the Field drop down and clicking Append. The rest of the message body can be typed in the editor. This will result in the same email message going to different actors with their respective names in the salutation line.
The text tool bar above the text editor allows you to manage and format the body text. It has the following text tools –
-
Cut (Ctrl+X) - to cut text
-
Copy (Ctrl+C) - to copy text
-
Paste (Ctrl+V) - to paste text
-
Undo (Ctrl+Z) - to undo the last action
-
Redo (Ctrl+Y) - to undo the last action
-
Repeat Last Command (F4) - to repeat the last command that was executed
It also has the following formatting & other tools –
-
Bold (Ctrl+B) - to make text bold
-
Italic (Ctrl+I) - to italicize text
-
Underline (Ctrl+U) - to underline text
-
Font Name - to select the font for the body
-
Size - to specify the font size
-
Paragraph Style - to select a paragraph style
-
Zoom - to zoom in and zoom out the view
-
Foreground Color - to set text color
-
Background Color - to set the background color
-
Print - to print the text
At the bottom of the window you will find the following buttons:
-
Update - You can click this button to save the message body.
-
Close - You can click this button to close this window.