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

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Post a message to a Te...
Power Automate
Unanswered

Post a message to a Teams chat when I get a new email without breaking hyperlink

(0) ShareShare
ReportReport
Posted on by 11

When I get a new email, I want post the body to a Teams chat.

However, the hyperlink in the body is broken.

I think this is because when I get the body using trigger "When I got a new mail (V3)", I got it by text format instead of HTML.

I found that the newline code was not <br> but r/n/.

 

Could you please solve the problem?

(Sorry my poor English)

 

Categories:
I have the same question (0)
  • v-dezhili-msft Profile Picture
    Microsoft Employee on at

    Hi @saki5555 ,

     

    Can you show me your flow screenshot?
    In fact, you don't need to convert the body of an email to a string. You can use it directly in the Post message in a chat or channel action.
    vdezhilimsft_0-1670916595718.png

     

    vdezhilimsft_1-1670916595719.png

    Best Regards

    Dezhi

  • saki5555 Profile Picture
    11 on at

    Hi, 

    Thank you for your reply.
    You are all right. When I tried a test as you did, the hyperlink was alive.

    However, the particular mails' hyperlink is still broke with the same flow. 

    I found that

    -it happens with particular mails sent by a systems.

    -when I forward it to myself, alse the hyperlink will be broken.

    -when I copy the body of the mails and paste it a new email, the hyperlink will NOT be broken.

     

    test.png

  • v-dezhili-msft Profile Picture
    Microsoft Employee on at

    Hi @saki5555 ,

     

    You can check if the link is in an <a> tag, if necessary, you can extract the link from the email and put it in an <a> tag.

    vdezhilimsft_1-1670919997014.png

    Best Regards

    Dezhi

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 237 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 176 Super User 2026 Season 1

#3
Power Platform 1919 Profile Picture

Power Platform 1919 96 Super User 2026 Season 1

Last 30 days Overall leaderboard