Altered Process Email Template when sent

Hello,

We noticed that the process of email sending from Sugar is altering the html code of the email template.

We use Process Email Template to send some transactional emails to clients. These templates are designed in another tool and we get the html at the end of the design.

First problem is when you copy-paste the html in the process email template : the code is altered by TinyMCE. We overrode the html_tinymce field to allow style tags for example, so that the template still looks good after having saved the code.

But we still lose the head part of the html code. Unlike classic email templates, we can't manage the whole html but only the body part

Is there a way of defining the whole html in process email template ?    

Thank you,

Sylvain

Parents
  • I believe this is a limitation of the implementation of TinyMCE in Sugar and is the subject of Enhancement Request 73763. However that is purely a documentation request regarding what is stripped from the source by the purifier in Sugar when HTML is pasted and saved. (I think there is a size limit however this probably will not affect Process Emial Templates, just Campaign Email Templates).


    SugarCRM recommended that we get a visual diff program (for example, PSPad can do this on Windows) and copy the Sugar version of the source code to a text file, then compare it to the original using the diff functionality. That doesn't help the fundamental problem that there are limitations when pasting HTML that really need to be addressed as a priority by SugarCRM in my opinion. Unfortunately there is no workaround other than to simplify the HTML.

    Suggest you log a case with SugarCRM and get it linked to the existing ER. Alternatively we can create a product suggestion in SugarClub and get votes for it so it gets addressed.   

Reply
  • I believe this is a limitation of the implementation of TinyMCE in Sugar and is the subject of Enhancement Request 73763. However that is purely a documentation request regarding what is stripped from the source by the purifier in Sugar when HTML is pasted and saved. (I think there is a size limit however this probably will not affect Process Emial Templates, just Campaign Email Templates).


    SugarCRM recommended that we get a visual diff program (for example, PSPad can do this on Windows) and copy the Sugar version of the source code to a text file, then compare it to the original using the diff functionality. That doesn't help the fundamental problem that there are limitations when pasting HTML that really need to be addressed as a priority by SugarCRM in my opinion. Unfortunately there is no workaround other than to simplify the HTML.

    Suggest you log a case with SugarCRM and get it linked to the existing ER. Alternatively we can create a product suggestion in SugarClub and get votes for it so it gets addressed.   

Children
No Data