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 Apps / Send email and attach ...
Power Apps
Unanswered

Send email and attach many image Using Power Apps

(0) ShareShare
ReportReport
Posted on by 181

Hi all,

I am developing a power app that has a DataCard which contain 5 add picture image controls (not a gallery) for the user to select a photo or image to upload and then press the button to send an email attached to these images and PDF

This 5 add picture image control called

AddMediaWithImage1     (Mandatory)

AddMediaWithImage1_1 (Optional)

AddMediaWithImage1_2 (Optional)

AddMediaWithImage1_3 (Optional)

AddMediaWithImage1_4 (Optional)

 

I have referred to this video, https://www.youtube.com/watch?v=GoF3vfP3YTM

but I do not know how to attach these images and PDF simultaneously and anything needs to be preset first.

 

 

 

Below is my code:

Office365Outlook.SendEmailV2(
"alan.tse@clp.com.hk" /*DataCardValue84.Text &";"*/,/// To
"New: CLPeS of PO:",// Subject
"Dear Sirs," &"<br> attached for your follow-up." & "<br> Thank." &
"<br> Dear Contractor," & "<br> Please refer to the report and rectify the defect(s) and provide Photo(s) to us for update by 2 business days." &"<br>Thanks.",
{Attachments: Table(
{
Name: "submittedInspection.pdf",

ContentBytes: PDF(DataCard1, {Orientation: "Portrait", ExpandContainers: true})
}
)
}
);

 

Thank you very much for your help.

Categories:
I have the same question (0)
  • AT_AlanTse123 Profile Picture
    181 on at

    Would anyone help?

    Thank you.

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard