cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
luisep
Level: Powered On

Send e-mai with any type of attachments

Does anyone know if it is possible to send an email from Powerapps with some kind of attachments?
I have a Form with a "Card: Attachments". Is it possible to send an email with the "OnSelect" function and attach all files included in "Datacardvalue1"?
Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Send e-mai with any type of attachments

Hi @luisep ,

 

Could you please reference this?

https://powerusers.microsoft.com/t5/General-Discussion/Email-with-attachment/m-p/239607

I test as next:

Button.OnSelect: Office365.SendEmail(User().Email,"Attachments","Attachments", 
{Attachments:AddColumns(Gallery1.Selected.Attachments, "Name", DisplayName, "ContentBytes", Value, "@odata.type", "")})

20190411SendDifferentType.PNG

 

Test:

20190411SendEmail.gif

 

Result Check:

20190411senddifferentTypeResult.PNG

 

Hope this could be helpful.

 

Best Regards.

Yumia

 

View solution in original post

2 REPLIES 2
Community Support Team
Community Support Team

Re: Send e-mai with any type of attachments

Hi @luisep ,

 

Could you please reference this?

https://powerusers.microsoft.com/t5/General-Discussion/Email-with-attachment/m-p/239607

I test as next:

Button.OnSelect: Office365.SendEmail(User().Email,"Attachments","Attachments", 
{Attachments:AddColumns(Gallery1.Selected.Attachments, "Name", DisplayName, "ContentBytes", Value, "@odata.type", "")})

20190411SendDifferentType.PNG

 

Test:

20190411SendEmail.gif

 

Result Check:

20190411senddifferentTypeResult.PNG

 

Hope this could be helpful.

 

Best Regards.

Yumia

 

View solution in original post

luisep
Level: Powered On

Re: Send e-mai with any type of attachments

Hi, v-yuxima-msft,

Thanks for your reply.

 

I have applied your instructions and now send me an email with any type of file.

 

Thanks a lot.

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 168 members 6,056 guests
Please welcome our newest community members: