Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

Email inbound source code HTML CSS

reddi123chi
Tera Contributor

Hi All,

 

This is my first query in the ServiceNow community. I hope it will also help others who may face the same issue in the future.

We are currently using Email Layouts for email notifications and HTML source code in the body for formatting. For outbound emails, the HTML and CSS are working as expected.

However, for inbound emails, the email is being processed but the HTML source code gets modified automatically,and some elements like image or style are not loading correctly.

But in the inbound email,the source code appears to be modified and the formatting is not preserved

 

outbound HTML: <div style="margin-top: 15px; margin-bottom: 15px; height: 4px; background: #34A853;">&nbsp;</div>

inbound HTML : <div style="margin-top:15px;margin-bottom:15px;min-height:4px;background:#34a853"> </div> 

height becoming min-height

The system property glide.email.inbound.convert_html_inline_attachment_references also enabled but no luck

 

Has anyone experienced this issue with HTML/CSS in inbound email processing? Is there a recommended way to preserve the HTML formatting or prevent the source code from being modified?

 

Any suggestions would be greatly appreciated

 

Thanks in advance

0 REPLIES 0