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 / Can you send two forms...
Power Apps
Answered

Can you send two forms of attachments to email?

(0) ShareShare
ReportReport
Posted on by 12

Hi I'm trying to send photos that I have in a collection "CameraPics" and I also want to send the PenInput as an image as attachments?

 

I thought I could use {attachments: CameraPics & Table({Name:"Signature.jpg",ContentBytes:Signature.Image, '@odata.type':""})}

 

But it doesn't like this, so I'm trying to understand if there is a way to achieve this?

Categories:
  • Verified answer
    v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @Ashers82 ,

    Could you please share a bit more about your CameraPics collection?

    Does your CameraPics collection have the following data structure?13.JPG

     

    If you want to send an email with the CameraPics collection as attachments, your CameraPics collection must be above data structure.

    If your CameraPics collection has above data structure already, you could consider merge your CameraPics collection and the PenInput image data into single one Collection, then send the merged collection as the attachments of the meail.

     

    I have made a test on my side, please take a try with the following workaround:14.JPG

     

    15.JPG

    Set the OnSelect property of the "Collect" button to following:

    Collect(CameraPics, {Name: "Picture1.jpg", ContentBytes: AddMediaButton1.Media, '@odata.type':""})

    On your side, you may type:

    Collect(CameraPics, {Name: "Picture1.jpg", ContentBytes: Camera1.Photo, '@odata.type':""})

    Set the OnSelect property of the "Send Email" button to following:

    Office365.SendEmailV2(
    "Test1@Wicren.onmicrosoft.com",
    "PowerApps Test",
    "PowerApps Test",
    {
    Attachments: Collect(CameraPics, {Name: "Signature.jpg", ContentBytes: PenInput1.Image,'@odata.type':""})
    }
    )

    On your side, you should type:

    Office365.SendEmailV2(
     "Your Email Address",
     "Subject Text",
     "Body Test",
     {
     Attachments: Collect(CameraPics, {Name: "Signature.jpg", ContentBytes: Signature.Image,'@odata.type':""})
     }
    )

    Note: Please make sure your CameraPics collection has the data structure as the first screenshot I preovided above.

    Please take a try with above solution, then check if the issue is solved.

     

    Best regards,

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 342 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 271

#3
Mohsin Ali Profile Picture

Mohsin Ali 239

Last 30 days Overall leaderboard