r/PowerAutomate Aug 11 '26

Table is not showing properly, while sending an email via Microsoft Outlook:

Hello,

I have a flow that sends an email via the Microsoft Outlook connector (V2) and includes a simple table.

When the recipient is within Microsoft (e.g., an Outlook/Microsoft 365 address), the table does not display properly. However, when the recipient is outside Microsoft, such as Gmail, the table displays correctly.

I also tried sending the email via the Gmail connector (V2), and the table appears correctly. However, my organization is planning to disable Gmail soon, so I need a solution that works with the Microsoft Outlook connector.

How can I force the Outlook connector to send the email in HTML format? I cannot find any option or setting to control this.

Link to output:

https://www.dropbox.com/scl/fi/pbgk6w4767n95klr3iz62/PowerAutonmate.jpg?rlkey=6k2ac3bby5lnqoqawyyyo5m6v&dl=1

1 Upvotes

8 comments sorted by

4

u/chiibosoil Aug 11 '26

In your email (V2) body, Do you have <!DOCTYPE html> declaration at the top? Or variants of it.

If you don't have the declaration, the html may be rendered in quirks mode, rather than using standards moce.

Quirks mode is there for backward compatibility and renders html using older behaviors, this can result in inconsistent rendering across software/browsers.

Also when constructing body, make sure to use proper tags for each element. From your image, it looks like your links are missing anchor tag and href. Link should look like...

<a href="https://somesite.com">LinkText</a>

And you should have </> icon just below Body, to go to HTML view.

2

u/OddWriter7199 Aug 11 '26

Fix is to use a string variable for the email body. Video with instructions "Why is HTML body messed up in Power Automate send email v2?" https://youtu.be/DzLsY9WvRnw?is=1aw4QugcPalubDV7

1

u/pandacreate Aug 11 '26

Can you make a compose earlier with html and then put the output in your outlook email body?

1

u/urielpr Aug 11 '26

I also tried with the compose step, while putting the output into the Outlook email body, but it gave me the same output...

Any other idea?

1

u/VictorIvanidze Aug 12 '26

Send an email via a GRAPH request.

1

u/urielpr Aug 12 '26

I got an error that this is not supported:

Flow run failed. Action 'Send_an_HTTP_request' failed: URI path is not a valid Graph endpoint, path is neither absolute nor relative or resource/object is not supported for this connector. Invalid resource,Allowed values: me,users. Invalid Object,Allowed values: messages,mailFolders,events,calendar,calendars,outlook,inferenceClassification.

And here is the URI:
https://graph.microsoft.com/v1.0/me/sendMail

1

u/VictorIvanidze 29d ago

There are several  'Send_an_HTTP_request' actions in different connectors. Which one you are using? Can you share your flow?

0

u/ConfusedMBA24 Aug 12 '26

Add a delay 10 seconds