New line in EmailBody of Javelin Email Activity
search cancel

New line in EmailBody of Javelin Email Activity

book

Article ID: 279976

calendar_today

Updated On:

Products

CA Test Data Manager (Data Finder / Grid Tools)

Issue/Introduction

The component used to send the email, email Extended, seems to have a bug in the EmailBody field, when I use the special characters to create a new text line the command doesn’t work.

Even if I used +chr(13)+chr(10) (command that we used in all other text editors in the tool) in the email it doesn’t appear any new lines.

Environment

4.10.x

Cause

This is not a product bug but due to fact that for EmailBody, the content is set/sent as HTML unlike for other editors/actions.

Resolution

For the email content EmailBody, use <br> instead of +chr(13)+chr(10). 

Example:

"test <br> test1"

or

"test"+"<br>"+"test1"