web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

Email with XML content being parsed and xml removed.

(0) ShareShare
ReportReport
Posted on by 92

I'm using Office 365 online as my Mail server for D365 online.

I have a couple things I need help with.

 

I am trying to send XML in my Email body and it keeps getting stripped out when I send the email.

  

Here is the message I'm trying to send.    <adf>Hello MIke how are you?</adf>

Here is the "Raw" email message when its received.

Content-Type: text/plain; charset="us-ascii"

Content-Transfer-Encoding: quoted-printable

Hello MIke how are you?

--_000_1DF65BDC1751422F963BB3E68183C0FB1D591A1B79BBNOREPLYMANA_

Content-Type: text/html; charset="us-ascii"

Content-Transfer-Encoding: quoted-printable

<html>

<head>

<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=> 

<adf>

</head>

<body>

Hello MIke how are you?</adf>

</body>

</html>

The Email comes through as Content-Type: text/html; charset="us-ascii".

If I use Office 365 to create and send the same message I can specify that I want to send it as text/plain and I get this "Raw" message.

Content-Type: text/plain; charset="iso-8859-1"

Content-Transfer-Encoding: quoted-printable

MIME-Version: 1.0

X-OriginatorOrg: managedchatcanada.com

X-MS-Exchange-CrossTenant-Network-Message-Id: acd215e0-9722-462e-d456-08d75fb9ec40

X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Nov 2019 17:27:23.2715

 (UTC)

X-MS-Exchange-CrossTenant-fromentityheader: Hosted

X-MS-Exchange-CrossTenant-id: 12f909a0-3e91-48ce-8cf4-9b65c0714ac4

X-MS-Exchange-CrossTenant-mailboxtype: HOSTED

X-MS-Exchange-CrossTenant-userprincipalname: K7TqA9y4RW3zMtXxZozoOP2HdSjvsPE4yFTFgBogHt7VSKVYPyuExuA61RXAxbX+h/3K/tcnwHaQogGnFSu2u2xsI1ehYIAJ8rNhVT2AgVFDXsjLKHyTTYQuWSkC1I+e

X-MS-Exchange-Transport-CrossTenantHeadersStamped: YQXPR01MB3879

Content-Length: 39

<adf>TestPlainTextMessageformat</adf>=

The contect type of this message is Content-Type: text/plain; charset="iso-8859-1"

 

I'm using a custom workflow action to populate my email description and not the built in editor so I know its storing correction. 

Here is a snap shot of my data using the XRMToolbox.

pastedimage1572721769148v3.png

I even tried to change the "mimetype" of the email message, and that doesn't appear to do anything.

 

Has anyone tried to do this before with any success?

 

I have the same question (0)
  • LuHao Profile Picture
    40,892 on at

    Hi partner,

    If you don't have a good solution, I would like to recommend you raise a support ticket to get professional help.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Siv Sagar Profile Picture

Siv Sagar 93 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 76

#3
Martin Dráb Profile Picture

Martin Dráb 64 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans