Quantcast
Channel: SCN : Unanswered Discussions - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 6719

Email Integration Scenario - Issue with email body content

$
0
0

Hi All,

 

We have an Email to File Scenario. PI is connected to Outlook server using Sender Mail Channel using POP3. We are able to fetch and display emails correctly for most of the received emails.

 

However we notice that for Email sent from few Mail server like Yahoo mail, Gmail, Hotmail, we are not getting the Email content correctly.

 

Issue is happening with Emails sent in HTML/Rich text format (containing Formatting and without any attachments). In the receiver system we see the email is converted to Plain text format. If the same email is sent with some attachment / Embedded Image, we get all the Formatting correctly in Receiver System.

 

A closer look at Pimon we found the following:

1. When Email is sent with Formatting (without any attachment/ image) in Pimon we see that it creates 2 Payloads (screenshot attached)

2. The First Payload - MainDocument contains the Email content in XML format, but is missing the Email formatting data in it.

3. The other Payload - (payload-84...@sap.com) contains the actual Formatted Email Content.

 

Email-HTML issue.jpg

 

 

 

Not sure why the formatting data is missing from MainDocument. Instead its coming in other payload. Due to this we are not able to display correct data at receiver end as we parse the MainDocument as our Input Payload Stream

 

Note: We cannot use payload swap bean, as it will swap the data for all the incoming emails which we don't want.

 

Anyone faced similar issue? Steps to get proper formatting data in MainDocument..

 

Suggestions / Inputs will be highly appreciated.

 

Thanks,

Azhar


Viewing all articles
Browse latest Browse all 6719

Trending Articles