Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Possible to receive %BODY% in email endpoint with html?

Avatar

Level 2

We have an email end point and need to preserve html formatting when receiving it into a variable. Using a string seems to preserve only plain text. Is there a way to preserve the formatting?

Thanks -

5 Replies

Avatar

Former Community Member

I don't think you can ...you will only get the text of the message.

Paul

Avatar

Level 2

Is there any way to get the raw body or complete email?

Avatar

Former Community Member

ARe you using the Email service or using the Process Management email?

If you are using the Email service, in the Receive operation, there is a property called Body (HTML) that allows you to save the HTML code as a string value.

http://help.stage.adobe.com/en_US/enterpriseplatform/10.0/WorkbenchHelp/WS92d06802c76abadb-7744acc91...

Avatar

Level 2

This is a process with an email startpoint.

Thank you -

Jack

Avatar

Level 2

I see that the Foundation/EmailService gives you two variables to receive the email as plain text and as html. Is there a way to do this with the email start point?