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 / 2 attachments in one e...
Power Apps
Answered

2 attachments in one email

(0) ShareShare
ReportReport
Posted on by 648

Hello  iam testing the new PDF function in Power apps , i can send 2 emails but not 2 attachments in one mail is that possible ? 

 

Se my code today 

 

;;Office365Outlook.SendEmailV2(User().Email;" Info  1";" Info  1"
;{Attachments:{Name:" Info  1.pdf";ContentBytes:PDF(GalInfo1;{ExpandContainers: true; Margin:"30";Orientation: "Landscape"})}}
)

;;Office365Outlook.SendEmailV2(User().Email;" Info  2";" Info  2"

;{Attachments:{Name:"larlingsparm2.pdf";ContentBytes:PDF(GalInfo2;{ExpandContainers: true; Margin:"30";Orientation: "Landscape"})}}

 

)

Categories:
I have the same question (0)
  • Verified answer
    turnerj3 Profile Picture
    2,039 on at

    It can be done, but you will need to add the pdfs to an attachment data card and then call the attachments in the email. I recommend watching this video by Shane Young. https://m.youtube.com/watch?v=Pa-pYEkLH-U

  • dalacarelia_196 Profile Picture
    648 on at

    I find a solution  , it is possible to run several PDF files from gallery 🙂 

    ;;Office365Outlook.SendEmailV2(
    User().Email;
    "Info 1 and Info 2 " & ddeleven.SelectedText.Value;
    "Kombi attachments of Info 1 and Info 2";
    {
    Attachments: [
    {
    Name: "Elevdata.pdf";
    ContentBytes: PDF(TopGallery; {ExpandContainers: true; Margin: "20mm 20mm 20mm 20mm" ; Orientation: "Landscape"})};
    {
    Name: "Kurserna.pdf";
    ContentBytes: PDF(Kurserna_Gallery; {ExpandContainers: true; Margin: "20mm 20mm 20mm 20mm" ; Orientation: "Landscape"})}
    ;
    { Name: "AjOf.pdf";
    ContentBytes: PDF(GalAjOj; {ExpandContainers: true; Margin: "20mm 20mm 20mm 20mm" ; Orientation: "Landscape"})
    }]}

     


    )

  • dalacarelia_196 Profile Picture
    648 on at

    Thank you dor the effort 🙂

  • turnerj3 Profile Picture
    2,039 on at

    Good job! Thanks for posting that solution. Looks like you found an easier way.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 529 Most Valuable Professional

#2
Haque Profile Picture

Haque 230

#3
Kalathiya Profile Picture

Kalathiya 217 Super User 2026 Season 1

Last 30 days Overall leaderboard