Retain HTML for inbound emails
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2016 10:45 AM
We would like to retain HTML formatting from inbound emails and insert them into the comments.
I placed the following code into the inbound email actions and I'm getting a result I don't expect.
BR: current.comments = '[code]' + email.body_html + '[/code]';
Result:
2016-03-09 13:31:59 - Scott Angehr Additional comments
lang="EN-US" link="blue" vlink="purple">
State | Type | Caller | Severity Level | Category | Short Description |
Active | Project | Justin Thyme | Standard | ServiceNow | Create Timesheet app tied with Project Mgmt |
Scott Angehr
ServiceNow Administrator
It includes part of the email header and I haven't been able to edit to exclude this.
Any thoughts would be greatly appreciated!
Thank you,
Scott
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2021 06:46 AM
Hi,
Did anyone come up with a solution for this? If so, would you mind sharing?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2021 07:06 AM
I have not come up with a solution.