cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
SailorGirl
New Member

insert picture outlook body message

Hi, everybody

 

I make flow to send e-mail with a picture in its body. Could u please tell me where should I save this image to make it visible for message receives?

I saved it in OneDirve (public acess), but e-mail receiver still doesn't see it in a message

 

52 REPLIES 52

Alright I finally fixed it.  Thanks for your help

I don't have an option to select Is HTML.

How can I fix this?

 

no Is HTML.JPG

@NGselman 

The latest version of the Send an email connector (V2) does not include the "Is HTML" option.  In the current version, you click where I have indicated in the screen shot below to expose the HTML.  This also also you to enter and edit HTML directly in the email body.

HTML1.pngHTML2.png

 

 

 

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

Scott

Thank you for your input.

This then means, that I was by default working with HTML, and that that is unfortunately not the key to solving my issue.

 

Any ideas how to solve the bellow?

 

A flow email, visible in Online Outlook:

Online.JPG

 

A flow email, visible in Desktop Outlook:

Desktop.JPG

Thank you!

It seems I was indeed by default in the HTML mode, but unfortunately this does seem to be a key to solving my problem.

The problem is that the embedded images are visible in the Online Outlook, but not in Desktop Outlook app.

 

Desktop app:

Desktop.JPG

Online:

Online.JPG

Solution on how to show embedded pictures from SharePoint in Outlook client:

  1. Create a blank email in the outlook client
  2. Insert & Link to insert a picture from SharePoint URL
    picture_from_file.jpginsert_link.jpg

  3. Now for every user who has done this the embedded pictures are visible in the client.

 

Unfortunately on random occasions (every 2 or three months) this step has to be repeated. I wrote a *.vbs script and put a link to it in the email with the picture. So if users do not see the picture they follow the link to the folder, click on the script and problem is gone.

 

I believe there are some registry settings for Outlook that get reset every now and then and could perhaps be set centrally. Would be happy to get feedback on this if someone finds the final solution.

 

Here my *.vbs to bugfix:

 

 

 

 

Create a file in editor with content below and call it "bugfix.vbs"

Only this line: newmail.attachments.add ("https://mysite.sharepoint.com/sites/real_adress/Pictures/mail.jpg") needs to be modified with any dummy picture of your sharepoint library (have not tried with onedrive).

 

 

Dim ToAddress
Dim MessageSubject
Dim MessageBody
Dim MessageAttachment

Dim ol, ns, newMail

ToAddress = "whatever@bugfix.com" ' You can change this to your email address
MessageSubject = "Please check if file has been attached"
MessageBody = "You should now see the pictures send by the Gateway Tool, otherwise please contact whatever@bugfix.com"

Set ol = WScript.CreateObject("Outlook.Application")
Set ns = ol.getNamespace("MAPI")
ns.logon "","",true,false
Set newMail = ol.CreateItem(olMailItem)
newMail.Subject = MessageSubject
newMail.Body = MessageBody & vbCrLf
newmail.attachments.add ("https://mysite.sharepoint.com/sites/real_adress/Pictures/mail.jpg")
newmail.display
WScript.Sleep 1000
newmail.delete

Set ol = Nothing

 

 

 

Anonymous
Not applicable

I was having the same problem, solved opening the img hosted on sharepoint on a new tab (click in the img to preview, then left click > new tab, now entitled thumbnail) and copying the url link

Thanks @Anonymous 

 

Only solution that worked for me. Yes the, url is super long, but it works. 

Helo everybody ,

I found this blog, becasue of my problem how to embed Base64 coded images (HTML) do email body.

In the recieved email is HTML code totally missing...

I have opened the ticked on Microsoft - the answer is : maximum Base64 coded image size is 200 Kb.

So now I am in worries because all my custommers images are over 200 kb ...

How to get the embedded code for image URL? I am not able to get that "embed" option on my OneDrive or SharePoint.

Either use the SharePoint URL, which is more readable but a little bit to play around

https://mysite.sharepoint.com/sites/real_adress/Pictures/mail.jpg

best try it first with a picture that is NOT in a folder and path does NOT contain any spaces

For whatever evil reason some retard at Microsoft took the decision to make this much more complicated on SharePoint Online than before, where you just did a right click to copy the link and got a readable URL. With this Sharing-Nightmare implemented now - it cant get more comlicated.

 

 

or do it like @Anonymous suggested above (not tested by me)

I was having the same problem, solved opening the img hosted on sharepoint on a new tab (click in the img to preview, then left click > new tab, now entitled thumbnail) and copying the url link

MS_Struggler
New Member

To everyone else that is hosting on SharePoint do the following. Set flow to grab the file content using path > point it to your image > create new action to send email > enable html > in the body put <img src="name of your image with extension"> 

Example: <img src="test.jpg">

Now here is the key!

 

Add your file content as an attachment and give it attachment name that matches the call from html tag from the body. For example : test.jpg.

 

Make sure the image is not very large, you may need to size it down a bit.

 

Hope this helps.

jruhsam
Advocate I
Advocate I

Hello everyone,

 

I had the same problem and solved it as follows:

I first used a OneDrive (for Business) action to get a link to the image from OneDrive (with connection type Direct.)

Then I could use that link in my mail as an image source:

 

jruhsam_0-1613401085969.png

Hope this can help you 🙂

 

Helpful resources

Announcements

Power Platform Connections - Episode 7 | March 30, 2023

Episode Seven of Power Platform Connections sees David Warner and Hugo Bernier talk to Dian Taylor, alongside the latest news, product reviews, and community blogs.     Use the hashtag #PowerPlatformConnects on social media for a chance to have your work featured on the show.  

Announcing | Super Users - 2023 Season 1

Super Users – 2023 Season 1    We are excited to kick off the Power Users Super User Program for 2023 - Season 1.  The Power Platform Super Users have done an amazing job in keeping the Power Platform communities helpful, accurate and responsive. We would like to send these amazing folks a big THANK YOU for their efforts.      Super User Season 1 | Contributions July 1, 2022 – December 31, 2022  Super User Season 2 | Contributions January 1, 2023 – June 30, 2023    Curious what a Super User is? Super Users are especially active community members who are eager to help others with their community questions. There are 2 Super User seasons in a year, and we monitor the community for new potential Super Users at the end of each season. Super Users are recognized in the community with both a rank name and icon next to their username, and a seasonal badge on their profile.  Power Apps  Power Automate  Power Virtual Agents  Power Pages  Pstork1*  Pstork1*  Pstork1*  OliverRodrigues  BCBuizer  Expiscornovus*  Expiscornovus*  ragavanrajan  AhmedSalih  grantjenkins  renatoromao    Mira_Ghaly*  Mira_Ghaly*      Sundeep_Malik*  Sundeep_Malik*      SudeepGhatakNZ*  SudeepGhatakNZ*      StretchFredrik*  StretchFredrik*      365-Assist*  365-Assist*      cha_cha  ekarim2020      timl  Hardesh15      iAm_ManCat  annajhaveri      SebS  Rhiassuring      LaurensM  abm      TheRobRush  Ankesh_49      WiZey  lbendlin      Nogueira1306  Kaif_Siddique      victorcp  RobElliott      dpoggemann  srduval      SBax  CFernandes      Roverandom  schwibach      Akser  CraigStewart      PowerRanger  MichaelAnnis      subsguts  David_MA      EricRegnier  edgonzales      zmansuri  GeorgiosG      ChrisPiasecki  ryule      AmDev  fchopo      phipps0218  tom_riha      theapurva  takolota     Akash17  momlo     BCLS776  Shuvam-rpa     rampprakash  ScottShearer     Rusk  ChristianAbata     cchannon  Koen5     a33ik  Heartholme     AaronKnox  okeks      Matren   David_MA     Alex_10        Jeff_Thorpe        poweractivate        Ramole        DianaBirkelbach        DavidZoon        AJ_Z        PriyankaGeethik        BrianS        StalinPonnusamy        HamidBee        CNT        Anonymous_Hippo        Anchov        KeithAtherton        alaabitar        Tolu_Victor        KRider        sperry1625        IPC_ahaas      zuurg    rubin_boer   cwebb365   Dorrinda   G1124   Gabibalaban   Manan-Malhotra   jcfDaniel   WarrenBelz   Waegemma   drrickryp   GuidoPreite    If an * is at the end of a user's name this means they are a Multi Super User, in more than one community. Please note this is not the final list, as we are pending a few acceptances.  Once they are received the list will be updated. 

Register now for the Business Applications Launch Event | Tuesday, April 4, 2023

Join us for an in-depth look into the latest updates across Microsoft Dynamics 365 and Microsoft Power Platform that are helping businesses overcome their biggest challenges today.   Find out about new features, capabilities, and best practices for connecting data to deliver exceptional customer experiences, collaborating, and creating using AI-powered capabilities, driving productivity with automation—and building towards future growth with today’s leading technology.   Microsoft leaders and experts will guide you through the full 2023 release wave 1 and how these advancements will help you: Expand visibility, reduce time, and enhance creativity in your departments and teams with unified, AI-powered capabilities.Empower your employees to focus on revenue-generating tasks while automating repetitive tasks.Connect people, data, and processes across your organization with modern collaboration tools.Innovate without limits using the latest in low-code development, including new GPT-powered capabilities.    Click Here to Register Today!    

Check out the new Power Platform Communities Front Door Experience!

We are excited to share the ‘Power Platform Communities Front Door’ experience with you!   Front Door brings together content from all the Power Platform communities into a single place for our community members, customers and low-code, no-code enthusiasts to learn, share and engage with peers, advocates, community program managers and our product team members. There are a host of features and new capabilities now available on Power Platform Communities Front Door to make content more discoverable for all power product community users which includes ForumsUser GroupsEventsCommunity highlightsCommunity by numbersLinks to all communities Users can see top discussions from across all the Power Platform communities and easily navigate to the latest or trending posts for further interaction. Additionally, they can filter to individual products as well.   Users can filter and browse the user group events from all power platform products with feature parity to existing community user group experience and added filtering capabilities.     Users can now explore user groups on the Power Platform Front Door landing page with capability to view all products in Power Platform.      Explore Power Platform Communities Front Door today. Visit Power Platform Community Front door to easily navigate to the different product communities, view a roll up of user groups, events and forums.

Microsoft Power Platform Conference | Registration Open | Oct. 3-5 2023

We are so excited to see you for the Microsoft Power Platform Conference in Las Vegas October 3-5 2023! But first, let's take a look back at some fun moments and the best community in tech from MPPC 2022 in Orlando, Florida.   Featuring guest speakers such as Charles Lamanna, Heather Cook, Julie Strauss, Nirav Shah, Ryan Cunningham, Sangya Singh, Stephen Siciliano, Hugo Bernier and many more.   Register today: https://www.powerplatformconf.com/   

Users online (3,379)