web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Send Email from Outloo...
Power Automate
Unanswered

Send Email from Outlook to OneNote with attachments and images in body.

(0) ShareShare
ReportReport
Posted on by 4
Dear support team,
 
I cannot create a OneNote sheet from Email with images in body.
This images cannot be shown on OneNote correctly.
However, the images are shown on OneNote correctly when I use "sent to OneNote" function.
Please refer to the attachments.
-------------------------------------------------------------------------------------------------------------
我不能使用power automate,将email正文中的图像发送到OneNote中。
图像在OneNote中不能正常显示。
不过,我用Outlook里“sent to OneNote”功能,图像可以正常显示在OneNote中。
请看附件!
 
Best Regards,
Hongda Zhao
Categories:
I have the same question (0)
  • Mark Nanneman Profile Picture
    991 Super User 2025 Season 2 on at
    This is probably because of the way images are often encoded in an email.  A lot of times the image is stored as an invisible attachment and the image property of the email HTML refers to the attachment by an id.
     
    Can you look at the HTML of the email you're trying to save to a One Note page?

    Check the "src" property of the <img> element.  Most likely it looks something like

    src="cid:f31492b0-58a2-41de-8025-784928f6df80"

    If you then look at the attachments on the email, you might find an attachment with an id that matches the "cid" value in the image's src property.

    It would be painful, but if you really needed to save the email with the picture in the one note, you would need to get each attachment and replace the src property of each image with a base64 encoded version of the attachment content.

    The format would be roughly:

    <img src="data:{{content-type}};base64,{{base64-image-content}}"/>

    Sort of like this screenshot where I'm getting a one drive image and putting it into an html.

    This image has an empty alt attribute; its file name is image-264.png
  • HZ-17120927-0 Profile Picture
    4 on at
     

    Thank you for your reply.

    However, I remain somewhat confused. I have uploaded some information from a Power Automate flow that I created. Could you please provide a transition demo for this specific case?

    Please check the attachments I have uploaded two new text files and one image to the original answer.

    Best regards,
    Hongda Zhao

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard