html content is visible in notification email

Servicenow10
Kilo Guru

hi 

 

as you can see the below ss  in which the html content part is also coming in email.......i also changed the content type as html,html and plain text or html only but result is same.......where exactly the change is needed.

find_real_file.png

 

 

12 REPLIES 12

asifnoor
Kilo Patron

Hi,

In the notification, Go to advanced view, and under What it contains -> Content Type -> Select HTML as the option. Then the html content will be rendered correctly.

Mark the comment as a correct answer and helpful once worked.

hi asifnoor,

 

i did the result is same

Hi,

If you click on preview, are you seeing it correctly or do you see html tags there? If you are seeing it correctly, then there is an issue in the mail account where it is being rendered. you need to check options in your email system and make changes there and not in SN.

Mark the comment as a correct answer and helpful if this helps.

in preview its coming perfect......can you please tell me the changes i need to perform in outlook 

Dylan K_ Hall
Tera Contributor

If I'm not mistaken, you're experiencing a known issue with TinyMCE + Codemirror.

Basically, if your cursor is inside of commented text in the HTML editor (when viewing source) and you click "OK", you get "<span id="CmCaReT"></span>" copied into where your cursor was.

I'm seeing an example of this in the content you pasted, on line 4 (and others). I would go through your notification and double check the syntax of your CSS; check for any other occurrences, and that it didn't otherwise affect the commented text. In my test it also started an HTML comment ("<!--") after the span.