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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Send e-mail with image...
Power Apps
Answered

Send e-mail with image attachments from Sharepoint list cause error

(0) ShareShare
ReportReport
Posted on by 181

Hi all, 

I am writing the inspection form app that user can view, add and edit the data from sharepoint list call DC E logbook & Inspection

I want to make the user can receive the email notification once edit the data and attach image attachment but it causes the error.

 

Could anyone help me?

 

Below is my code:

SubmitForm(EditForm1);
Office365Outlook.SendEmailV2(
"alan.tse@abc.com.hk",// To
"E-inspection form revised",// Subject
"Someone revised.", {Attachments:Table({Name:"file1.jpg", ContentBytes:AddPicture12.Media, '@odata.type':""})}
);

 

AT_AlanTse123_1-1696392817056.png

 

It is my sharepoint list column name and type

AT_AlanTse123_0-1696392658577.png

 

 

Thank you very much

Categories:
  • Verified answer
    WarrenBelz Profile Picture
    156,526 Most Valuable Professional on at

    Hi @AT_AlanTse123 ,

    The issue is you need to refer to the image in the Image Control (I assume Image14.Image). not the Add Picture Control Media.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

  • AT_AlanTse123 Profile Picture
    181 on at

    Hi @WarrenBelz ,

     

    Thank you very much for your help.

    It works perfectly.

    May i know how to attach more images  (such as Image3.Image and Image12.Image) and check if no image?

    Sorry for more questions.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 394 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 324 Most Valuable Professional

Last 30 days Overall leaderboard