Send PDF Email click on icon of selected gallery in Power apps

Loading

Requirement: Send PDF Email when click on Icon control of selected gallery through Power Apps

Create a Blank canvas app add label, gallery to the screen.

Add PDF icon to the screen and write the below code:

Onselect property : 
Office365Outlook.SendEmailV2(User().Email,"Birthday Wishes to the Employee", "PDF from Power Apps",{Attachments:Table({Name:"Birthdaywishes.pdf",ContentBytes:PDF(Gallery4 )})})

Send an email of the screen using pdf icon in Power apps, when the user clicks on pdf icon the gallery item displays as pdf by sending mail using power apps.

Leave a Reply

Your email address will not be published. Required fields are marked *