Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

[AEM Gems Webinar] Accelerating Experience Manager as a Cloud Service development with Rapid Development Environments

Issues with Carriage returns and outlook vent

Avatar

Level 3

Hi everyone,

 

I'm writing down some javascript code that will trigger the send mail event, which will open outlook for me at my place of business.

 

So I can write code like this to show up in the Email body section:

"\n\nExecutive Leadership and People Development\nCorporate Human Resources Division\nLearning Centre"

 

And when the event is triggered and outlook pop ups, i see the desired outcome in the email body:

 

Executive Leadership and People Development

Corporate Human Resources Division

Learning Centre 

 

And then i press the send button and the person that receives the email though, sees the email body like this:

 

Executive Leadership and People DevelopmentCorporate Human Resources DivisionLearning Centre 

 

I see that \n\n works well in the body email (when received), but the \n doesnt work when the person receives the email.

 

Anyone know why or if i can do something to correct it??

 

Thx

 

Patrick

 

0 Replies