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

Error showing SVG in email in Outlook

I'm referring to this earlier post: https://powerusers.microsoft.com/t5/General-Power-Automate/Send-Results-from-SP-List-with-Chart/m-p/...

 

I use a Compose function and use it's output in the email message body:

rubenVdk_0-1660923276920.png

In my email I get this error:

rubenVdk_1-1660923352047.png

I doesn't say anything when I hover my mouse of the red cross.

 

It does work when I open the email in Outlook online/365.

 

I must be doing something wrong with the formatting, can you help?

4 REPLIES 4
MarconettiMarco
Super User
Super User

Hello @rubenVdk ,

please try to replace "data:image" with "data:image".

For me it's working:

MarconettiMarco_0-1660926849152.png

 

Be aware that as @DamoBird365 mentioned, you should replace "SOMETEXT" and "THENUMBER" with dynamic values.

 

If I have answered your question, please mark my post as Solved.
If you like my response, please give it a Thumbs Up.

BR,

Marco

rubenVdk
Frequent Visitor

Hi @MarconettiMarco 

You've suggested to replace a part of the code with seemingly exactly the same?

"data:image"

 

Have you opened that email in Outlook (Desktop) or in your browser? It works on my mobile and on Outlook (in browser) but not in the desktop Outlook so I thought it was due compatibility issues.

I’m sorry @rubenVdk ,

my fault. Please try to use

MarconettiMarco_0-1660930463075.png

instead of “data:image”

 

BR,

Marco

rubenVdk
Frequent Visitor

According to this website: https://www.caniemail.com/features/image-svg/

There's no support for inline <svg> in Outlook (desktop) but opening in a webbrowser (outloo or office.com) or mobile is supported. 

 

Inline svg with the above solution, is shown on both my Android (Outlook app) or webbrowser (office.com). So I'm afraid we'll have to wait for Outlook to support inline svg

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Users online (3,392)