cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
olafn
Helper I
Helper I

Send an email when a new item is created in SharePoint.

Hi,

 

I created a custom list for the template 

Send an email when a new item is created in SharePoint.

 

The entries in the list are OK.

 

The flow works, but in the email there is html code!?

 

<div class="ExternalClass36ED17890C4C4F1E8F318A0E52BD95DB">Dies ist die Nachricht<span id="ms-rterangecursor-start"></span><span id="ms-rterangecursor-end"></span><br></div> 

 

How can I avoid this or what do I need to change?

1 ACCEPTED SOLUTION

Accepted Solutions

many thanks, it works now!

View solution in original post

2 REPLIES 2
v-xida-msft
Community Support
Community Support

Hi @olafn,

 

Could you please share a screenshot of your flow's configuration?

Could you please share more details about your SharePoint list?

Is the html code existed in the Body of your email?

 

I have reproduced your issue on my side, I created a SharePoint list on my side and the data structure of it as below:12.JPGNote: The Description column is a Multiple lines of text type column in my SharePoint list.

 

If I include the Description dynamic content from the trigger into the email body, the received email would be shown up as below (the issue that you mentioned):13.JPG

 

You could consider take a try to solve your problem with the following two solutions:

1. Set Is HTML field of the "Send an email" action to Yes.14.JPGThe flow works successfully as below:16.JPG

 

15.JPG

 

 

2. Add a "HTML to text" action to convert the HTML code into plain text:17.JPG

The flow works successfully as below:18.JPG

 

19.JPG

 

 

Best regards,

Kris

 

 

 

 

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

many thanks, it works now!

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (3,155)