Skip to Content
0
Former Member
Jul 17, 2018 at 02:07 PM

I am having problem with my email template it's not getting render properly. I am getting raw HTML tags in email

587 Views

I am having problem with my email template it's not getting render properly. It's simply sending raw html tags in mail content instead rendering the tags and sending email with proper layout. Can any one please help me with this ?

Below is the media impex for my email page: # Preview Image for use in the CMS Cockpit INSERT_UPDATE Media;$contentCV[unique=true];code[unique=true];mime;realfilename;@media[translator=de.hybris.platform.impex.jalo.media.MediaDataTranslator][forceWrite=true] ;;EmailPageModel_preview;text/gif;EmailPageModel_preview.gif;$jarResourceCms/preview-images/EmailPageModel_preview.gif

UPDATE EmailPage;$contentCV[unique=true];uid[unique=true];previewImage(code, $contentCV) ;;AbandonedBasketEmail;EmailPageModel_preview

Below is the snippet of how email body looks like in email getting triggered :

Forgot to Checkout? MIME-Version: 1.0 Content-Type: multipart/mixed; boundary=----=_Part_20_1030891005.1531810810016 ------=_Part_20_1030891005.1531810810016 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit