while using mail get operation i am getting data in both text and html format. How can i drop html docs
Hi Pavan Sakhamuri
Use decision shape to compare the current data like below:
Regular expression: (?s)<html>.*
Thanks for your response.
When i tried using Decision shape as you mentioned, I am getting below error.
First document failure: can't parse argument number: behavior:url(#default#VML);; Caused by: For input string: "behavior:url(#default#VML);"
If I understand your requirement correctly, I believe that you are trying to capture the text in emails without HTML tags.
The messages in email box can have both HTML and Text depending upon the sender. Sender can decide to send HTML or plain text. Boomi does not have such filtering option at connector level. The options that you have is as follows
1. Reject HTML emails in the email box by configuring Exchange server.
2. OR you can convert most of HTML text to plain text by using simple Regex expression in Data process. Regex
<[^>]*> can be used replace with blank text in search and replace. However this approach will result in formatting loss.
I think you are asking for the functionality that is described in Mail Connector - Content-Type Document Property, is that right?
Retrieving data ...