Posted: 15 Jun 2020 1:19 EDT Last activity: 8 Jan 2021 8:16 EST
How to parse Rich text & HTML format emails along with Plain Text format emails in email listener.
I have a scenario where, parsing of the key properties from the emails in any formats like plain text, rich text & HTML as well. If an email is sent in any format then the email listener should parse the key properties regardless of the email format.
I hope your idea works. But we need to know using an email listener. As we already developed for plain text email format & we need to know how we can develop regardless of the email format, how the email can be parsed. Hope u could give solution for email listener approach.
I have already developed the email listener which parses only the plain text emails. But I need to configure email listener in such a way that it should parse the key elements from any of Plain Text, Rich Text & HTML format emails as well(listener should parse regardless of the email format).
Can I know how you are parsing plain Emails first? Using regular expressions or any String manipulations? We used RUTA scripts to detect properties irrespective of format and HTML based on pattern matching and some logic. You can also add Text Analyzer to Email Listener.
Hi Duraisankar, I also use RUTA scripts for processing incoming emails and extracting properties into entity models. It is working fine with plain text but now I have to process emails in HTML format and the scripts are not working anymore. Did you succeed to use scripts with emails in HTML format?