- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2017 01:58 PM
Hi All,
We're on Helsinki...
I have an Inbound Email Action which attempts to 'parse' the body of an email.
In the emails' details the body is jam-packed full of the HTML... but the script in the Action (trying to parse the html using email.body_text) seems to get literally the text.
Is there a means to get the raw html, tags and all??
Solved! Go to Solution.
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2017 02:09 PM
Hi Tony,
I believe what you are looking for (message with all the html markup) can be found in just email.body_html. Both fields are available (body_html and body_text) on the email object. See if that has what you are looking for.
If not, let us know.
Thanks,
-Brian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2017 02:07 PM
Got it ...
body_html
What a surprise !

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2017 02:28 PM
Hi Tony,
Thanks for marking that correct, even though you beat me to the punch. With every correct answer, I like to throw in a free reference... it's easier than sending free company pens via email. Here you go: Accessing email objects with variables
You might find some other helpful hints in there while you are working with inbound actions.
Thanks,
-Brian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2017 04:48 AM
Hi Brian -- You're quite welcome and thanks for the reference !

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2017 02:09 PM
Hi Tony,
I believe what you are looking for (message with all the html markup) can be found in just email.body_html. Both fields are available (body_html and body_text) on the email object. See if that has what you are looking for.
If not, let us know.
Thanks,
-Brian