How to convert HTML code to plain text?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
15-10-19 03:05 PM
Hello,
How can I convert HTML code to plain text? What dll files are used for decoding HTML? How can I reference to this dll in code stage?
Thank you,
Anna Rydzewska
------------------------------
Anna Rydzewska
RPA Developer
Rockwell Automation
Europe/Warsaw
------------------------------
How can I convert HTML code to plain text? What dll files are used for decoding HTML? How can I reference to this dll in code stage?
Thank you,
Anna Rydzewska
------------------------------
Anna Rydzewska
RPA Developer
Rockwell Automation
Europe/Warsaw
------------------------------
14 REPLIES 14
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-11-22 03:08 PM
@Alex Traynor,
If you only want plain text bodies returned, change that line of code to this:
Cheers,
------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------
If you only want plain text bodies returned, change that line of code to this:
row("Body") = item.Body
Cheers,
------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-11-22 03:12 PM
Hi @Tejaskumar_Darji,
Apologies for not responding to your comment previously. I must have missed it.
To be clear, the VBO doesn't default to returning the HTML body. The VBO checks the BodyFormat property of the message to determine what format it is in and then it returns the appropriate body value based on that. Since we're talking Outlook, most emails show up in HTML format and that's why you see that most of the time. Yes, we can add an override flag for this.
Cheers,
------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------
Apologies for not responding to your comment previously. I must have missed it.
To be clear, the VBO doesn't default to returning the HTML body. The VBO checks the BodyFormat property of the message to determine what format it is in and then it returns the appropriate body value based on that. Since we're talking Outlook, most emails show up in HTML format and that's why you see that most of the time. Yes, we can add an override flag for this.
Cheers,
------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-11-22 03:16 PM
Thanks Eric appreciated!
------------------------------
Alex Traynor
------------------------------
------------------------------
Alex Traynor
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-11-22 03:18 PM
Thank You @ewilson for clarifying and considering the input flag.
------------------------------
If I was of assistance, please vote for it to be the "Best Answer".
Thanks & Regards,
Tejaskumar Darji
Sr. Consultant-Technical Lead
------------------------------
------------------------------
If I was of assistance, please vote for it to be the "Best Answer".
Thanks & Regards,
Tejaskumar Darji
Sr. Consultant-Technical Lead
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-12-23 10:22 AM
Thanks for this information
------------------------------
Lovely Baghel
------------------------------

- « Previous
-
- 1
- 2
- Next »