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

Announcements

No record found.

News and Announcements icon
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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

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

#1
11manish Profile Picture

11manish 176

#2
ManoVerse Profile Picture

ManoVerse 56 Super User 2026 Season 1

#3
Niki Patel Profile Picture

Niki Patel 42

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans