on 07-17-2018 3:07 PM
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
Hi Pranjal
I would suggest you download velocity syntax highlighter for one of your text editors and see if there is any unclosed tag in your vm file. It helped us immensely in our projects.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.