cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ImagenCia
Frequent Visitor

Problems with html outlook design

Hello friends, I have the following problem, I have an html that I want to insert in the body of the mail, but even though it is seen correctly in the browser, the layout in desktop outlook is lost

 

Chrome

vista_html_descargado_chrome.png

 

Outlook desktop

vista_html_outlook_desktop.png

 

This is my html code

 

https://codeshare.io/a3bR81

 

5 REPLIES 5
ImagenCia
Frequent Visitor

I forgot to mention that the html code is built and sent within an email with powerautomate

MiguelSilvaDev
Regular Visitor

Hi,

Still no solution?, I've exactly the same problem some days ago.

David-
Solution Sage
Solution Sage

I took your HTML code and placed it into the Compose action, with the output of the compose placed into the body of the e-mail and it worked fine:

David_0-1654700820974.png

I worked for a company that sent e-mail communications and you appear to be doing the right things in your HTML formatting; using tables, embedding the images and using inline styles.

MiguelSilvaDev
Regular Visitor

Actually I've been using the Compose action and still not working for Outlook desktop.

MiguelSilvaDev_0-1654779958145.png


It's like Outlook desktop doesn't recognize width styles and set it to 100%.

A solution that could help you is to convert your HTML to an JPG image and set it into your body email as HTML and works relatively well.

MiguelSilvaDev_1-1654780270784.png


And the Send an email actions looks like this.

MiguelSilvaDev_2-1654780354520.png

VictorIvanidze
Community Champion
Community Champion

Hi @MiguelSilvaDev,

 

I see the same bad HTML in the desktop Outlook. It looks like a bug in Outlook.

--------------------------------------------------------------------------------------
Contact me if you are interested in custom Power Automate development.

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (6,414)