tSendMail - New Line Trouble

Six 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
Seven Stars

Re: tSendMail - New Line Trouble

use <br /> or <br> for HTML


All Replies
Seven Stars

Re: tSendMail - New Line Trouble

use <br /> or <br> for HTML

Six 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