cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 
Subscribe

Hi,

how to convert Mail Content type from text/html to text/xml In sender Mail Adapter.

1.When Email sent as Plain text format  mail Adpter reads the mail Content as  text  message .

2.When email Sent as HTML format , Mail Adapter reads  theMail Content as Html formate

How to convert Html mail Content to XML when I am using XIpayload and Mail Package Options and keep attachements in Sender Mail Adapter in PI7.11

Regards

Upendra

0 Likes
View Entire Topic
stefan_grube
Active Contributor
0 Likes

When you exchange messages through mail adapter, you have to define the specification of the mail first. That means you declare structure of the message and content type.

In principle your email should have only an XML body and no attachments. If this is not possible, then it should be plain text, which you can transform to XML with MessageTransformBean.

It does not make sense to exchange messages with HTML format.

Ask a Question