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 )})})
![](http://rishandigital.com/wp-content/uploads/2023/05/image-13-1024x494.png)
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.
![](http://rishandigital.com/wp-content/uploads/2023/05/image-12-1024x474.png)