cancel
Showing results for 
Search instead for 
Did you mean: 

Email Content type from text/html to text/xml

12-15-2012 9:57 AM
717 views 1 comments
0 Likes
SAP Managed Tags
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

Accepted Solutions (0)

Answers (1)

Answers (1)

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