tSendMail - New Line Trouble

Seven Stars

tSendMail - New Line Trouble

I am trying to create an email with the some job status information, which I wish to put across multiple lines. However, whatever I do, I get the output in one line. Have changed the MIME type to HTML, used "/n", "/r", "/r/n", String Objects newline. Nothing seems to work.

 

Although I noticed that these characters do get processed, even though the outcome isn't as expected. I don't see them in the email body, which suggests that the text processor accepts them. Just doesn't process them they way it should. Do I see a bug in the component?

 

I am on Talend Open Studio 7.0.1, on Ubutntu 16.04.4 VM, on Windows 10 system (if that helps).


Accepted Solutions
Eight Stars

Re: tSendMail - New Line Trouble

use <br /> or <br> for HTML

View solution in original post


All Replies
Eight Stars

Re: tSendMail - New Line Trouble

use <br /> or <br> for HTML

View solution in original post

Seven Stars

Re: tSendMail - New Line Trouble

Worked like a charm. I tried it earlier but looks like I didn't structure my html tags well so it failed. Upon your recommendation I did it again and got it right this time. Guess what - The more you try, the more you learn. Smiley Happy

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog