cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Tamer66
Helper III
Helper III

Send email and Attachment with Flow

Hello,

 

i want to send directly from my App an Email with Attachments and additionaly receiver (to)

 

My situation

I have an App with a gallery that are connected to a sharepoint list, in the detail from an item i create a Button for sending the information via Flow to a Email Recipient

 

I send the Email via .Run to my flow

sendEmailAnGW.Run(subject,body...)
 

10-05-2019 15-50-33.jpg

 

This works pretty good but

 

- how can i use the Email Recipient directly from the app

- how can i send the attachment from my item too

 

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
v-yuxima-msft
Community Support
Community Support

Hi @Tamer66 ,

 

Do you want to send email and attachments by PowerApps?

I think you can reference this case I replied before:

https://powerusers.microsoft.com/t5/General-Discussion/Send-e-mai-with-any-type-of-attachments/m-p/2...

If you want to use Flow to send multiple attachments,could you please reference this:

https://flow.microsoft.com/en-us/blog/multiple-attachments-single-email/

 

If you also have some doubts,please don't hesitate to update.

 

Best Regards.

Yumia

View solution in original post

4 REPLIES 4
Pstork1
Dual Super User III
Dual Super User III

BAsically you do the same thing you are doing for Subject and Body.  In the Flow use the 'Ask in PowerApps' dynamic data entry to add a field to hold the email address of the recipient to the run parameters.  Do the same for any attachments you want to include. For the attachments you'll probably need to store them in a known location like your OneDrive and just pass the file name(s) as a parameter.  Then retrieve the actual files contents in the flow and add them as attachements to the email.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
dyee4613
Helper V
Helper V

Wouldn't it be easier to load your office 365 as a dataset and email directly from powerapps?  

v-yuxima-msft
Community Support
Community Support

Hi @Tamer66 ,

 

Do you want to send email and attachments by PowerApps?

I think you can reference this case I replied before:

https://powerusers.microsoft.com/t5/General-Discussion/Send-e-mai-with-any-type-of-attachments/m-p/2...

If you want to use Flow to send multiple attachments,could you please reference this:

https://flow.microsoft.com/en-us/blog/multiple-attachments-single-email/

 

If you also have some doubts,please don't hesitate to update.

 

Best Regards.

Yumia

View solution in original post

Hi,

 

very cool!

 

Thanks so mutch.

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (1,529)