Hello, I am making a flow that sends an e-mail with an image in the body. The image is taken from OneDrive with a link and inserted with the following tags:
<html>
<body>
<p>This is a paragraph.</p>
<img src="https://........sharepoint.com/personal/........_onmicrosoft_com/Documents/Dashboard/Image.png?Web=1">
</body>
</html>
E-mail is sent successfully. The issue is that I receive the following broken image in the e-mail:
What is causing this? I tried removing the quotations, using a link that is shared for everyone who has the link etc. Nothing seems to be working.
I haven't tried this option with an online image, but can you check the cookbook post I have submitted here.
How to embed an image in Outlook email body in Pow... - Power Platform Community (microsoft.com)
It is for embedding a local image file inside the body of an Outlook email.
Embedding an image in email body only works with the use of cid (contentid). Can you check the same by using the image url instead of the physical file and see what happens.
You might need to make some tweaks wherever necessary.
What are the values of FileName and FullAttachment path in your case?
Hi @VJR ,
And filename gets Balkans.png?Web=1
I tried removing the ?Web=1 but the result is the same.
When I used this to this in the Body box it worked very well without any issues
<html>
<body>
<h1>Sample Image</h1>
<img src="https://www.shutterstock.com/image-vector/sample-red-square-grunge-stamp-260nw-338250266.jpg" alt="sample image" width="500" height="600">
</body>
</html>
You can try this one and see if it works. This will tell whether it is an issue with every url on your machine or just the one that you are using from Sharepoint.